EOCR::HitChars
Returns
Namespace: Euresys::Open_eVision
[C++]
bool HitChars(
int cursorX,
int 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 value expressed in pixels. By default, no panning occurs.
panY
Vertical panning value expressed in pixels. 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
[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 value expressed in pixels. By default, no panning occurs.
panY
Vertical panning value expressed in pixels. 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.