EOCR::DrawChar
Draws the bounding box of a given character.
Namespace: Euresys::Open_eVision_2_5
[C++]
void DrawChar(
HDC graphicContext,
OEV_UINT32 charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawChar(
HDC graphicContext,
const ERGBColor& color,
OEV_UINT32 charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawChar(
EDrawAdapter* graphicContext,
OEV_UINT32 charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
Handle of the device context on which to draw.
charIndex
Character index, in range
zoomX
Horizontal zooming factor. By default, true scale is used.
zoomY
Vertical zooming factor. If set to
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.
EOCR.DrawChar
Draws the bounding box of a given character.
Namespace: Euresys::Open_eVision_2_5
[C#]
void DrawChar(
IntPtr graphicContext,
uint charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawChar(
IntPtr graphicContext,
Euresys.Open_eVision_2_5.ERGBColor color,
uint charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawChar(
Euresys.Open_eVision_2_5.EDrawAdapter graphicContext,
uint charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
Handle of the device context on which to draw.
charIndex
Character index, in range
zoomX
Horizontal zooming factor. By default, true scale is used.
zoomY
Vertical zooming factor. If set to
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.
EOCR.DrawChar
Draws the bounding box of a given character.
[VB6]
void DrawChar(
Long graphicContext,
Long charIndex,
Single zoomX,
Single zoomY,
Single panX,
Single panY
)
void DrawChar(
Long graphicContext,
ERGBColor color,
Long charIndex,
Single zoomX,
Single zoomY,
Single panX,
Single panY
)
void DrawChar(
EDrawAdapter graphicContext,
Long charIndex,
Single zoomX,
Single zoomY,
Single panX,
Single panY
)
Parameters
graphicContext
Handle of the device context on which to draw.
charIndex
Character index, in range
zoomX
Horizontal zooming factor. By default, true scale is used.
zoomY
Vertical zooming factor. If set to
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.