Documentation Portal      

What are you looking for?

EOCR::DrawChars

Draws the bounding boxes of all characters in the image.

Namespace: Euresys::Open_eVision_2_5

[C++]

void DrawChars(
   HDC graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void DrawChars(
   HDC graphicContext,
   const ERGBColor& color,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void DrawChars(
   EDrawAdapter* 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 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

panX

Horizontal panning factor. By default, no panning occurs.

panY

Vertical panning factor. By default, no panning occurs.

color

The color in which to draw the overlay.

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).

EOCR.DrawChars

Draws the bounding boxes of all characters in the image.

Namespace: Euresys::Open_eVision_2_5

[C#]

void DrawChars(
   IntPtr graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void DrawChars(
   IntPtr graphicContext,
   Euresys.Open_eVision_2_5.ERGBColor color,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void DrawChars(
   Euresys.Open_eVision_2_5.EDrawAdapter 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 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

panX

Horizontal panning factor. By default, no panning occurs.

panY

Vertical panning factor. By default, no panning occurs.

color

The color in which to draw the overlay.

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).

EOCR.DrawChars

Draws the bounding boxes of all characters in the image.

[VB6]

void DrawChars(
   Long graphicContext,
   Single zoomX,
   Single zoomY,
   Single panX,
   Single panY
)

void DrawChars(
   Long graphicContext,
   ERGBColor color,
   Single zoomX,
   Single zoomY,
   Single panX,
   Single panY
)

void DrawChars(
   EDrawAdapter graphicContext,
   Single zoomX,
   Single zoomY,
   Single panX,
   Single 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 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

panX

Horizontal panning factor. By default, no panning occurs.

panY

Vertical panning factor. By default, no panning occurs.

color

The color in which to draw the overlay.

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).

Which API shall we display?

© 2018 EURESYS s.a.  -  About Documentation  -  Open Source Licenses  -  Open eVision 2.5.1.1107