TextFragment

TextFragment class

Represents a part of recognized text (word, symbol, etc), extracted by OCR engine.

public class TextFragment

Constructors

Name Description
TextFragment(string, Rectangle) Initializes a new instance of the recognised text fragment.

Properties

Name Description
Rectangle { get; } Gets a bounding rectangle of the recognised text fragment.
Text { get; } Gets a textual content of the recognised text fragment.

Methods

Name Description
override ToString() Returns textual content of the recognised text fragment.

Remarks

Learn more

See Also