EOCR::HitChars
Returns
Namespace: Euresys::Open_eVision_2_5
[C++]
BOOL HitChars(
OEV_INT32 cursorX,
OEV_INT32 cursorY,
OEV_UINT32& charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
cursorX
Current cursor coordinates.
cursorY
Current cursor coordinates.
charIndex
Index of the character hit.
zoomX
Horizontal zooming factor. By default,
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.
Remarks
If zooming and/or panning were used when drawing the ROI, the same values must be used with EOCR::HitChars.
EOCR.HitChars
Returns
Namespace: Euresys::Open_eVision_2_5
[C#]
bool HitChars(
int cursorX,
int cursorY,
out uint charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
cursorX
Current cursor coordinates.
cursorY
Current cursor coordinates.
charIndex
Index of the character hit.
zoomX
Horizontal zooming factor. By default,
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.
Remarks
If zooming and/or panning were used when drawing the ROI, the same values must be used with EOCR::HitChars.
EOCR.HitChars
Returns
[VB6]
Boolean HitChars(
Long cursorX,
Long cursorY,
Long charIndex,
Single zoomX,
Single zoomY,
Single panX,
Single panY
)
Parameters
cursorX
Current cursor coordinates.
cursorY
Current cursor coordinates.
charIndex
Index of the character hit.
zoomX
Horizontal zooming factor. By default,
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.
Remarks
If zooming and/or panning were used when drawing the ROI, the same values must be used with EOCR::HitChars.