eVision .NET API
Loading...
Searching...
No Matches
eVision.EOCR2Text Class Reference

Holds a vector of EOCR2Line objects representing a text. More...

Inheritance diagram for eVision.EOCR2Text:
Collaboration diagram for eVision.EOCR2Text:

Public Member Functions

 EOCR2Text ()
 Constructs an EOCR2Text context.
 EOCR2Text (eVision.EOCR2Text other)
 Constructs an EOCR2Text context.
void DrawSegmentation (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawSegmentationStyle style, float zoomX, float zoomY, float panX, float panY, eVision.EFrame frame)
 Draws the blobs found by the segmentation algorithm.
void DrawSegmentation (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawSegmentationStyle style, float zoomX, float zoomY, float panX, float panY)
 Draws the blobs found by the segmentation algorithm.
void DrawSegmentation (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawSegmentationStyle style, float zoomX, float zoomY, float panX)
 Draws the blobs found by the segmentation algorithm.
void DrawSegmentation (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawSegmentationStyle style, float zoomX, float zoomY)
 Draws the blobs found by the segmentation algorithm.
void DrawSegmentation (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawSegmentationStyle style, float zoomX)
 Draws the blobs found by the segmentation algorithm.
void DrawSegmentation (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawSegmentationStyle style)
 Draws the blobs found by the segmentation algorithm.
void DrawDetection (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawDetectionStyle style, float zoomX, float zoomY, float panX, float panY, eVision.EFrame frame)
 Draws the bounding boxes found by the topology detection algorithm.
void DrawDetection (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawDetectionStyle style, float zoomX, float zoomY, float panX, float panY)
 Draws the bounding boxes found by the topology detection algorithm.
void DrawDetection (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawDetectionStyle style, float zoomX, float zoomY, float panX)
 Draws the bounding boxes found by the topology detection algorithm.
void DrawDetection (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawDetectionStyle style, float zoomX, float zoomY)
 Draws the bounding boxes found by the topology detection algorithm.
void DrawDetection (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawDetectionStyle style, float zoomX)
 Draws the bounding boxes found by the topology detection algorithm.
void DrawDetection (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawDetectionStyle style)
 Draws the bounding boxes found by the topology detection algorithm.
void DrawRecognition (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawRecognitionStyle style, int fontSize, float zoomX, float zoomY, float panX, float panY, eVision.EFrame frame)
 Draws the recognized text next to the character bounding box in the image.
void DrawRecognition (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawRecognitionStyle style, int fontSize, float zoomX, float zoomY, float panX, float panY)
 Draws the recognized text next to the character bounding box in the image.
void DrawRecognition (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawRecognitionStyle style, int fontSize, float zoomX, float zoomY, float panX)
 Draws the recognized text next to the character bounding box in the image.
void DrawRecognition (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawRecognitionStyle style, int fontSize, float zoomX, float zoomY)
 Draws the recognized text next to the character bounding box in the image.
void DrawRecognition (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawRecognitionStyle style, int fontSize, float zoomX)
 Draws the recognized text next to the character bounding box in the image.
void DrawRecognition (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawRecognitionStyle style, int fontSize)
 Draws the recognized text next to the character bounding box in the image.
void DrawRecognition (eVision.EDrawAdapter drawAdapter, eVision.EasyOCR2DrawRecognitionStyle style)
 Draws the recognized text next to the character bounding box in the image.
bool HitTestChar (eVision.EOCR2Char character, int x, int y, float zoomX, float zoomY, float panX, float panY, eVision.EFrame frame)
 Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter.
bool HitTestChar (eVision.EOCR2Char character, int x, int y, float zoomX, float zoomY, float panX, float panY)
 Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter.
bool HitTestChar (eVision.EOCR2Char character, int x, int y, float zoomX, float zoomY, float panX)
 Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter.
bool HitTestChar (eVision.EOCR2Char character, int x, int y, float zoomX, float zoomY)
 Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter.
bool HitTestChar (eVision.EOCR2Char character, int x, int y, float zoomX)
 Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter.
bool HitTestChar (eVision.EOCR2Char character, int x, int y)
 Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter.
bool HitTestWord (eVision.EOCR2Word word, int x, int y, float zoomX, float zoomY, float panX, float panY, eVision.EFrame frame)
 Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter.
bool HitTestWord (eVision.EOCR2Word word, int x, int y, float zoomX, float zoomY, float panX, float panY)
 Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter.
bool HitTestWord (eVision.EOCR2Word word, int x, int y, float zoomX, float zoomY, float panX)
 Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter.
bool HitTestWord (eVision.EOCR2Word word, int x, int y, float zoomX, float zoomY)
 Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter.
bool HitTestWord (eVision.EOCR2Word word, int x, int y, float zoomX)
 Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter.
bool HitTestWord (eVision.EOCR2Word word, int x, int y)
 Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter.
bool HitTestLine (eVision.EOCR2Line line, int x, int y, float zoomX, float zoomY, float panX, float panY, eVision.EFrame frame)
 Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter.
bool HitTestLine (eVision.EOCR2Line line, int x, int y, float zoomX, float zoomY, float panX, float panY)
 Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter.
bool HitTestLine (eVision.EOCR2Line line, int x, int y, float zoomX, float zoomY, float panX)
 Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter.
bool HitTestLine (eVision.EOCR2Line line, int x, int y, float zoomX, float zoomY)
 Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter.
bool HitTestLine (eVision.EOCR2Line line, int x, int y, float zoomX)
 Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter.
bool HitTestLine (eVision.EOCR2Line line, int x, int y)
 Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter.
bool HitTestText (int x, int y, float zoomX, float zoomY, float panX, float panY, eVision.EFrame frame)
 Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true.
bool HitTestText (int x, int y, float zoomX, float zoomY, float panX, float panY)
 Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true.
bool HitTestText (int x, int y, float zoomX, float zoomY, float panX)
 Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true.
bool HitTestText (int x, int y, float zoomX, float zoomY)
 Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true.
bool HitTestText (int x, int y, float zoomX)
 Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true.
bool HitTestText (int x, int y)
 Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true.
eVision.EFrame ToFrame (bool useAngle, eVision.EFrameScaling frameScaling)
 Converts the shape to a frame.
eVision.EFrame ToFrame (bool useAngle, eVision.EFrameScaling frameScaling, eVision.EFrame frame)
 Converts the shape to a frame.
eVision.ERegion ToRegion ()
 Creates an ERegion from the EOCR2Text.

Properties

string String [get]
 Gets the read string.
eVision.EOCR2Line[] Lines [get, set]
 The vector of EOCR2Line objects representing the text.
int LineCount [get]
 Gets the number of lines.
eVision.ERectangle BoundingBox [get]
 The bounding box encapsulating all characters in the text.
string Text [get, set]
 The true value of all characters in the text.

Detailed Description

Holds a vector of EOCR2Line objects representing a text.

License(s): None

Constructor & Destructor Documentation

◆ EOCR2Text() [1/2]

eVision.EOCR2Text.EOCR2Text ( )

Constructs an EOCR2Text context.

Default and copy constructors.

◆ EOCR2Text() [2/2]

eVision.EOCR2Text.EOCR2Text ( eVision.EOCR2Text other)

Constructs an EOCR2Text context.

Parameters
otherEOCR2Text object to be copied.

Default and copy constructors.

Member Function Documentation

◆ DrawDetection() [1/6]

void eVision.EOCR2Text.DrawDetection ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawDetectionStyle style )

Draws the bounding boxes found by the topology detection algorithm.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each detection box should be drawn.

◆ DrawDetection() [2/6]

void eVision.EOCR2Text.DrawDetection ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawDetectionStyle style,
float zoomX )

Draws the bounding boxes found by the topology detection algorithm.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each detection box should be drawn.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ DrawDetection() [3/6]

void eVision.EOCR2Text.DrawDetection ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawDetectionStyle style,
float zoomX,
float zoomY )

Draws the bounding boxes found by the topology detection algorithm.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each detection box should be drawn.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ DrawDetection() [4/6]

void eVision.EOCR2Text.DrawDetection ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawDetectionStyle style,
float zoomX,
float zoomY,
float panX )

Draws the bounding boxes found by the topology detection algorithm.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each detection box should be drawn.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ DrawDetection() [5/6]

void eVision.EOCR2Text.DrawDetection ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawDetectionStyle style,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the bounding boxes found by the topology detection algorithm.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each detection box should be drawn.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ DrawDetection() [6/6]

void eVision.EOCR2Text.DrawDetection ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawDetectionStyle style,
float zoomX,
float zoomY,
float panX,
float panY,
eVision.EFrame frame )

Draws the bounding boxes found by the topology detection algorithm.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each detection box should be drawn.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
frameFrame used in the last read.

◆ DrawRecognition() [1/7]

void eVision.EOCR2Text.DrawRecognition ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawRecognitionStyle style )

Draws the recognized text next to the character bounding box in the image.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each recognition result should be drawn.

◆ DrawRecognition() [2/7]

void eVision.EOCR2Text.DrawRecognition ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawRecognitionStyle style,
int fontSize )

Draws the recognized text next to the character bounding box in the image.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each recognition result should be drawn.
fontSizeFont size used when drawing read strings. Default is 16.

◆ DrawRecognition() [3/7]

void eVision.EOCR2Text.DrawRecognition ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawRecognitionStyle style,
int fontSize,
float zoomX )

Draws the recognized text next to the character bounding box in the image.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each recognition result should be drawn.
fontSizeFont size used when drawing read strings. Default is 16.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ DrawRecognition() [4/7]

void eVision.EOCR2Text.DrawRecognition ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawRecognitionStyle style,
int fontSize,
float zoomX,
float zoomY )

Draws the recognized text next to the character bounding box in the image.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each recognition result should be drawn.
fontSizeFont size used when drawing read strings. Default is 16.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ DrawRecognition() [5/7]

void eVision.EOCR2Text.DrawRecognition ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawRecognitionStyle style,
int fontSize,
float zoomX,
float zoomY,
float panX )

Draws the recognized text next to the character bounding box in the image.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each recognition result should be drawn.
fontSizeFont size used when drawing read strings. Default is 16.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ DrawRecognition() [6/7]

void eVision.EOCR2Text.DrawRecognition ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawRecognitionStyle style,
int fontSize,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the recognized text next to the character bounding box in the image.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each recognition result should be drawn.
fontSizeFont size used when drawing read strings. Default is 16.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ DrawRecognition() [7/7]

void eVision.EOCR2Text.DrawRecognition ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawRecognitionStyle style,
int fontSize,
float zoomX,
float zoomY,
float panX,
float panY,
eVision.EFrame frame )

Draws the recognized text next to the character bounding box in the image.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each recognition result should be drawn.
fontSizeFont size used when drawing read strings. Default is 16.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
frameFrame used in the last read.

◆ DrawSegmentation() [1/6]

void eVision.EOCR2Text.DrawSegmentation ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawSegmentationStyle style )

Draws the blobs found by the segmentation algorithm.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each blob should be drawn.

◆ DrawSegmentation() [2/6]

void eVision.EOCR2Text.DrawSegmentation ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawSegmentationStyle style,
float zoomX )

Draws the blobs found by the segmentation algorithm.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each blob should be drawn.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ DrawSegmentation() [3/6]

void eVision.EOCR2Text.DrawSegmentation ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawSegmentationStyle style,
float zoomX,
float zoomY )

Draws the blobs found by the segmentation algorithm.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each blob should be drawn.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ DrawSegmentation() [4/6]

void eVision.EOCR2Text.DrawSegmentation ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawSegmentationStyle style,
float zoomX,
float zoomY,
float panX )

Draws the blobs found by the segmentation algorithm.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each blob should be drawn.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ DrawSegmentation() [5/6]

void eVision.EOCR2Text.DrawSegmentation ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawSegmentationStyle style,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the blobs found by the segmentation algorithm.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each blob should be drawn.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ DrawSegmentation() [6/6]

void eVision.EOCR2Text.DrawSegmentation ( eVision.EDrawAdapter drawAdapter,
eVision.EasyOCR2DrawSegmentationStyle style,
float zoomX,
float zoomY,
float panX,
float panY,
eVision.EFrame frame )

Draws the blobs found by the segmentation algorithm.

Parameters
drawAdapterEDrawAdapter that will be used to draw.
styleThe style in which each blob should be drawn.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
frameFrame used in the last read.

◆ HitTestChar() [1/6]

bool eVision.EOCR2Text.HitTestChar ( eVision.EOCR2Char character,
int x,
int y )

Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter.

Parameters
characterReturns the character if one was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.

◆ HitTestChar() [2/6]

bool eVision.EOCR2Text.HitTestChar ( eVision.EOCR2Char character,
int x,
int y,
float zoomX )

Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter.

Parameters
characterReturns the character if one was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ HitTestChar() [3/6]

bool eVision.EOCR2Text.HitTestChar ( eVision.EOCR2Char character,
int x,
int y,
float zoomX,
float zoomY )

Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter.

Parameters
characterReturns the character if one was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.

◆ HitTestChar() [4/6]

bool eVision.EOCR2Text.HitTestChar ( eVision.EOCR2Char character,
int x,
int y,
float zoomX,
float zoomY,
float panX )

Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter.

Parameters
characterReturns the character if one was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ HitTestChar() [5/6]

bool eVision.EOCR2Text.HitTestChar ( eVision.EOCR2Char character,
int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY )

Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter.

Parameters
characterReturns the character if one was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ HitTestChar() [6/6]

bool eVision.EOCR2Text.HitTestChar ( eVision.EOCR2Char character,
int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY,
eVision.EFrame frame )

Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter.

Parameters
characterReturns the character if one was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
frameFrame used in the read of the specified character.

◆ HitTestLine() [1/6]

bool eVision.EOCR2Text.HitTestLine ( eVision.EOCR2Line line,
int x,
int y )

Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter.

Parameters
lineObject to fill if a line was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.

◆ HitTestLine() [2/6]

bool eVision.EOCR2Text.HitTestLine ( eVision.EOCR2Line line,
int x,
int y,
float zoomX )

Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter.

Parameters
lineObject to fill if a line was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ HitTestLine() [3/6]

bool eVision.EOCR2Text.HitTestLine ( eVision.EOCR2Line line,
int x,
int y,
float zoomX,
float zoomY )

Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter.

Parameters
lineObject to fill if a line was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.

◆ HitTestLine() [4/6]

bool eVision.EOCR2Text.HitTestLine ( eVision.EOCR2Line line,
int x,
int y,
float zoomX,
float zoomY,
float panX )

Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter.

Parameters
lineObject to fill if a line was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ HitTestLine() [5/6]

bool eVision.EOCR2Text.HitTestLine ( eVision.EOCR2Line line,
int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY )

Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter.

Parameters
lineObject to fill if a line was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ HitTestLine() [6/6]

bool eVision.EOCR2Text.HitTestLine ( eVision.EOCR2Line line,
int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY,
eVision.EFrame frame )

Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter.

Parameters
lineObject to fill if a line was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
frameFrame used in the read of the specified line.

◆ HitTestText() [1/6]

bool eVision.EOCR2Text.HitTestText ( int x,
int y )

Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true.

Parameters
xHorizontal position of the cursor.
yVertical position of the cursor.

◆ HitTestText() [2/6]

bool eVision.EOCR2Text.HitTestText ( int x,
int y,
float zoomX )

Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true.

Parameters
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ HitTestText() [3/6]

bool eVision.EOCR2Text.HitTestText ( int x,
int y,
float zoomX,
float zoomY )

Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true.

Parameters
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.

◆ HitTestText() [4/6]

bool eVision.EOCR2Text.HitTestText ( int x,
int y,
float zoomX,
float zoomY,
float panX )

Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true.

Parameters
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ HitTestText() [5/6]

bool eVision.EOCR2Text.HitTestText ( int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY )

Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true.

Parameters
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ HitTestText() [6/6]

bool eVision.EOCR2Text.HitTestText ( int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY,
eVision.EFrame frame )

Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true.

Parameters
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
frameFrame used in the read of the specified text.

◆ HitTestWord() [1/6]

bool eVision.EOCR2Text.HitTestWord ( eVision.EOCR2Word word,
int x,
int y )

Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter.

Parameters
wordObject to fill if a word was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.

◆ HitTestWord() [2/6]

bool eVision.EOCR2Text.HitTestWord ( eVision.EOCR2Word word,
int x,
int y,
float zoomX )

Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter.

Parameters
wordObject to fill if a word was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ HitTestWord() [3/6]

bool eVision.EOCR2Text.HitTestWord ( eVision.EOCR2Word word,
int x,
int y,
float zoomX,
float zoomY )

Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter.

Parameters
wordObject to fill if a word was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.

◆ HitTestWord() [4/6]

bool eVision.EOCR2Text.HitTestWord ( eVision.EOCR2Word word,
int x,
int y,
float zoomX,
float zoomY,
float panX )

Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter.

Parameters
wordObject to fill if a word was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ HitTestWord() [5/6]

bool eVision.EOCR2Text.HitTestWord ( eVision.EOCR2Word word,
int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY )

Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter.

Parameters
wordObject to fill if a word was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ HitTestWord() [6/6]

bool eVision.EOCR2Text.HitTestWord ( eVision.EOCR2Word word,
int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY,
eVision.EFrame frame )

Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter.

Parameters
wordObject to fill if a word was detected under the cursor.
xHorizontal position of the cursor.
yVertical position of the cursor.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
frameFrame used in the read of the specified word.

◆ ToFrame() [1/2]

eVision.EFrame eVision.EOCR2Text.ToFrame ( bool useAngle,
eVision.EFrameScaling frameScaling )

Converts the shape to a frame.

Parameters
useAngleWhether to use the angle of the shape as the orientation of the frame
frameScalingHow to change the scaling of the frame.

◆ ToFrame() [2/2]

eVision.EFrame eVision.EOCR2Text.ToFrame ( bool useAngle,
eVision.EFrameScaling frameScaling,
eVision.EFrame frame )

Converts the shape to a frame.

Parameters
useAngleWhether to use the angle of the shape as the orientation of the frame
frameScalingHow to change the scaling of the frame.
frameThe frame in which the text is defined

◆ ToRegion()

eVision.ERegion eVision.EOCR2Text.ToRegion ( )

Creates an ERegion from the EOCR2Text.

Property Documentation

◆ BoundingBox

eVision.ERectangle eVision.EOCR2Text.BoundingBox
get

The bounding box encapsulating all characters in the text.

◆ LineCount

int eVision.EOCR2Text.LineCount
get

Gets the number of lines.

◆ Lines

eVision.EOCR2Line [] eVision.EOCR2Text.Lines
getset

The vector of EOCR2Line objects representing the text.

◆ String

string eVision.EOCR2Text.String
get

Gets the read string.

◆ Text

string eVision.EOCR2Text.Text
getset

The true value of all characters in the text.

Use a space (" ") to separate two words and a linebreak ("\n") to separate two lines.