EBarCode::DrawPositionWithCurrentPen

This method is deprecated.

Draws the BarCode Position using the pen currently set in the graphical context.

Namespace: Euresys::Open_eVision::EasyBarCode2

[C++]

void DrawPositionWithCurrentPen(
   HDC hDC,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

Parameters

hDC

Handle of the device 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.DrawPositionWithCurrentPen

This method is deprecated.

Draws the BarCode Position using the pen currently set in the graphical context.

Namespace: Euresys.Open_eVision.EasyBarCode2

[C#]

void DrawPositionWithCurrentPen(
   IntPtr hDC,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

Parameters

hDC

Handle of the device 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.