ECodedImage2::DrawWithCurrentPen
This method is deprecated.
Draw the designated coded element, all the objects from a layer, or all the coded elements from a given selection.
Namespace: Euresys::Open_eVision
[C++]
void DrawWithCurrentPen(
HDC graphicContext,
const ECodedElement& element,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawWithCurrentPen(
HDC graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawWithCurrentPen(
HDC graphicContext,
OEV_UINT32 layerIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawWithCurrentPen(
HDC graphicContext,
const EObjectSelection& selection,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawWithCurrentPen(
HDC graphicContext,
const EObjectSelection& selection,
OEV_UINT32 elementIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
Graphic context on which to draw.
element
The coded element to draw.
zoomX
Horizontal zooming factor. By default, true scale is used.
zoomY
Vertical zooming factor. If set to
panX
Horizontal panning value expressed in pixels. By default, no panning occurs.
panY
Vertical panning value expressed in pixels. By default, no panning occurs.
layerIndex
Index of the layer of interest. If no layer index is specified, the default layer is taken into consideration. Note that this methods throws an exception if no layer index is specified and if, simultaneously, the coded image contains several layers. Indeed, in such a case, no default layer exists.
selection
The selection of coded elements to draw.
elementIndex
The index in the selection of the coded element to draw. If no element index is specified, all the elements of the selection are take into consideration.
Remarks
Drawing is done in the device context associated to the desired window. The current pen is used.
Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.ECodedImage2.DrawWithCurrentPen
This method is deprecated.
Draw the designated coded element, all the objects from a layer, or all the coded elements from a given selection.
Namespace: Euresys.Open_eVision
[C#]
void DrawWithCurrentPen(
IntPtr graphicContext,
Euresys.Open_eVision.ECodedElement element,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawWithCurrentPen(
IntPtr graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawWithCurrentPen(
IntPtr graphicContext,
uint layerIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawWithCurrentPen(
IntPtr graphicContext,
Euresys.Open_eVision.EObjectSelection selection,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawWithCurrentPen(
IntPtr graphicContext,
Euresys.Open_eVision.EObjectSelection selection,
uint elementIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
Graphic context on which to draw.
element
The coded element to draw.
zoomX
Horizontal zooming factor. By default, true scale is used.
zoomY
Vertical zooming factor. If set to
panX
Horizontal panning value expressed in pixels. By default, no panning occurs.
panY
Vertical panning value expressed in pixels. By default, no panning occurs.
layerIndex
Index of the layer of interest. If no layer index is specified, the default layer is taken into consideration. Note that this methods throws an exception if no layer index is specified and if, simultaneously, the coded image contains several layers. Indeed, in such a case, no default layer exists.
selection
The selection of coded elements to draw.
elementIndex
The index in the selection of the coded element to draw. If no element index is specified, all the elements of the selection are take into consideration.
Remarks
Drawing is done in the device context associated to the desired window. The current pen is used.
Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.