Search Results for

    Show / Hide Table of Contents

    Class OcrResult.OcrResultTextElement

    An abstract class representing discovered OCR DOM text elements such as OcrResult.Character, OcrResult.Word, OcrResult.Line, OcrResult.Paragraph ...

    Inheritance
    System.Object
    OcrResult.OcrResultElement
    OcrResult.OcrResultTextElement
    OcrResult.Block
    OcrResult.Character
    OcrResult.Line
    OcrResult.Page
    OcrResult.Paragraph
    OcrResult.Word
    Inherited Members
    OcrResult.OcrResultElement.ToBitmap(OcrInput)
    OcrResult.OcrResultElement.Width
    OcrResult.OcrResultElement.Height
    OcrResult.OcrResultElement.X
    OcrResult.OcrResultElement.Y
    OcrResult.OcrResultElement.Location
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: IronOcr
    Assembly: IronOcr.dll
    Syntax
    public abstract class OcrResultTextElement : OcrResult.OcrResultElement

    Constructors

    OcrResultTextElement()

    Declaration
    protected OcrResultTextElement()

    Properties

    Confidence

    OCR statistical accuracy confidence as an average of every character within this object.

    1 = 100%, 0 = 0%

    Declaration
    public virtual double Confidence { get; }
    Property Value
    Type Description
    System.Double

    Text

    The full text of this OcrResultElement as a string.

    Declaration
    public string Text { get; }
    Property Value
    Type Description
    System.String

    TextDirection

    The direction text was read in: such as 'Left to Right' or 'Top to Bottom'.

    Declaration
    public OcrResult.TextFlow TextDirection { get; }
    Property Value
    Type Description
    OcrResult.TextFlow

    Methods

    ToString()

    Full OCR text discovered within this object.

    A synonym of Text

    .

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    ☀
    ☾
    In This Article
    Back to top
    Install with Nuget