Skip to main content
View as Markdown

IPCB_DocumentPainterListener interface

No description yet.

public interface IPCB_DocumentPainterListener

Namespace: PCB · Assembly: Altium.SDK.Interfaces

Methods​

MethodReturnsDescription
OnBeginDragdouble
OnClickvoid
OnDegreeOfFreedomChangedvoid
OnDraggingvoid
OnEndDragvoid
OnPanvoid
OnPrimitivesMeshedvoid
OnRotatevoid
OnZoomvoid

OnBeginDrag​

No description yet.

double OnBeginDrag(IPCB_Primitive argPrim, TDegreeOfFreedom argDegreeOfFreedom);
double OnBeginDrag(object argPrim, int argDegreeOfFreedom);
ParameterTypePassing
argPrimIPCB_Primitivevalue
argDegreeOfFreedomTDegreeOfFreedomvalue

Returns: double

The first overload is an extension method of IPCB_DocumentPainterListenerHelper (using PCB;) with typed parameters; the second is declared by the interface.

OnClick​

No description yet.

void OnClick(IPCB_Primitive argPrim, TDegreeOfFreedom argDegreeOfFreedom);
void OnClick(object argPrim, int argDegreeOfFreedom);
ParameterTypePassing
argPrimIPCB_Primitivevalue
argDegreeOfFreedomTDegreeOfFreedomvalue

Returns: nothing (void)

The first overload is an extension method of IPCB_DocumentPainterListenerHelper (using PCB;) with typed parameters; the second is declared by the interface.

OnDegreeOfFreedomChanged​

No description yet.

void OnDegreeOfFreedomChanged(TDegreeOfFreedom argDegreeOfFreedom);
void OnDegreeOfFreedomChanged(int argDegreeOfFreedom);
ParameterTypePassing
argDegreeOfFreedomTDegreeOfFreedomvalue

Returns: nothing (void)

The first overload is an extension method of IPCB_DocumentPainterListenerHelper (using PCB;) with typed parameters; the second is declared by the interface.

OnDragging​

No description yet.

void OnDragging(IPCB_Primitive argPrim, TDegreeOfFreedom argDegreeOfFreedom, double argDist);
void OnDragging(object argPrim, int argDegreeOfFreedom, double argDist);
ParameterTypePassing
argPrimIPCB_Primitivevalue
argDegreeOfFreedomTDegreeOfFreedomvalue
argDistdoublevalue

Returns: nothing (void)

The first overload is an extension method of IPCB_DocumentPainterListenerHelper (using PCB;) with typed parameters; the second is declared by the interface.

OnEndDrag​

No description yet.

void OnEndDrag(IPCB_Primitive argPrim);
void OnEndDrag(object argPrim);
ParameterTypePassing
argPrimIPCB_Primitivevalue

Returns: nothing (void)

The first overload is an extension method of IPCB_DocumentPainterListenerHelper (using PCB;) with typed parameters; the second is declared by the interface.

OnPan​

No description yet.

void OnPan(double argLookAtX, double argLookAtY, double argLookAtZ);
ParameterTypePassing
argLookAtXdoublevalue
argLookAtYdoublevalue
argLookAtZdoublevalue

Returns: nothing (void)

OnPrimitivesMeshed​

No description yet.

void OnPrimitivesMeshed();

Returns: nothing (void)

OnRotate​

No description yet.

void OnRotate(double argRotationX, double argRotationY, double argRotationZ, double argRotationW);
ParameterTypePassing
argRotationXdoublevalue
argRotationYdoublevalue
argRotationZdoublevalue
argRotationWdoublevalue

Returns: nothing (void)

OnZoom​

No description yet.

void OnZoom(double argZoomMultiplier);
ParameterTypePassing
argZoomMultiplierdoublevalue

Returns: nothing (void)

Accepted by​

IPCB_DocumentPainterView.SetDocumentPainterListener