EOCR::HitChar
Returns
Namespace: Euresys::Open_eVision
[C++]
bool HitChar(
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 to be hit.
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
If zooming and/or panning were used when drawing the ROI, the same values must be used with EOCR::HitChar.
EOCR.HitChar
Returns
Namespace: Euresys.Open_eVision
[C#]
bool HitChar(
int cursorX,
int cursorY,
uint charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
cursorX
Current cursor coordinates.
cursorY
Current cursor coordinates.
charIndex
Index of the character to be hit.
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
If zooming and/or panning were used when drawing the ROI, the same values must be used with EOCR::HitChar.