EBarCode::DrawPosition

Draws the BarCode Position.

Namespace: Euresys::Open_eVision::EasyBarCode2

[C++]

void DrawPosition(
   EDrawAdapter* graphicsContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void DrawPosition(
   HDC graphicsContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

Parameters

graphicsContext

Handle of the graphics context on which to draw.

zoomX

Horizontal zooming factor. By default, true scale is used.

zoomY

Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

panX

Horizontal panning value expressed in pixels. By default, no panning occurs.

panY

Vertical panning value expressed in pixels. By default, no panning occurs.

Remarks

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.

EBarCode.DrawPosition

Draws the BarCode Position.

Namespace: Euresys.Open_eVision.EasyBarCode2

[C#]

void DrawPosition(
   Euresys.Open_eVision.EDrawAdapter graphicsContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void DrawPosition(
   IntPtr graphicsContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

Parameters

graphicsContext

Handle of the graphics context on which to draw.

zoomX

Horizontal zooming factor. By default, true scale is used.

zoomY

Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

panX

Horizontal panning value expressed in pixels. By default, no panning occurs.

panY

Vertical panning value expressed in pixels. By default, no panning occurs.

Remarks

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.