EOCR::DrawCharsWithCurrentPen
This method is deprecated.
Draws the bounding boxes of all characters in the image.
Namespace: Euresys::Open_eVision
[C++]
void DrawCharsWithCurrentPen(
HDC graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
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
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
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR::DrawChar method instead). 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.
EOCR.DrawCharsWithCurrentPen
This method is deprecated.
Draws the bounding boxes of all characters in the image.
Namespace: Euresys.Open_eVision
[C#]
void DrawCharsWithCurrentPen(
IntPtr graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
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
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
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR::DrawChar method instead). 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.