Search Results for

    Show / Hide Table of Contents

    Class OcrResult.Character

    Represents a single character (char) of text.

    Inheritance
    System.Object
    OcrResult.OcrResultElement
    OcrResult.OcrResultTextElement
    OcrResult.Character
    Implements
    IronSoftware.IDocumentTextObject
    IronSoftware.IBoundedDocumentObject
    IronSoftware.IBounded
    IronSoftware.ITransformable
    IronSoftware.IColored
    System.ICloneable
    IronSoftware.IDocumentCharacter
    IronSoftware.IDocumentObject
    Inherited Members
    OcrResult.OcrResultTextElement.Clone()
    OcrResult.OcrResultTextElement.TextDirection
    OcrResult.OcrResultTextElement.Text
    OcrResult.OcrResultTextElement.Confidence
    OcrResult.OcrResultTextElement.PageIndex
    OcrResult.OcrResultTextElement.PdfDocumentId
    OcrResult.OcrResultTextElement.ObjNum
    OcrResult.OcrResultTextElement.Contents
    OcrResult.OcrResultTextElement.Left
    OcrResult.OcrResultTextElement.Right
    OcrResult.OcrResultTextElement.Top
    OcrResult.OcrResultTextElement.Bottom
    OcrResult.OcrResultTextElement.Color
    OcrResult.OcrResultTextElement.BoundingBox
    OcrResult.OcrResultTextElement.Scale
    OcrResult.OcrResultTextElement.Translate
    OcrResult.OcrResultTextElement.Matrix
    OcrResult.OcrResultTextElement.FontSize
    OcrResult.OcrResultTextElement.RenderMode
    OcrResult.OcrResultTextElement.DocumentId
    OcrResult.OcrResultTextElement.FillColor
    OcrResult.OcrResultTextElement.StrokeColor
    OcrResult.OcrResultTextElement.IsBold
    OcrResult.OcrResultTextElement.IsItalic
    OcrResult.OcrResultTextElement.ContentStart
    OcrResult.OcrResultTextElement.Rotation
    OcrResult.OcrResultElement.ToBitmap(OcrInput)
    OcrResult.OcrResultElement.Width
    OcrResult.OcrResultElement.Height
    OcrResult.OcrResultElement.X
    OcrResult.OcrResultElement.Y
    OcrResult.OcrResultElement.Location
    Namespace: IronOcr
    Assembly: IronOcr.dll
    Syntax
    public class Character : OcrResult.OcrResultTextElement, IDocumentTextObject, IBoundedDocumentObject, IBounded, ITransformable, IColored, ICloneable, IDocumentCharacter, IDocumentObject

    Fields

    Block

    The block of text containing this character.

    Declaration
    public OcrResult.Block Block
    Field Value
    Type Description
    OcrResult.Block

    Line

    The line of text containing this character.

    Declaration
    public OcrResult.Line Line
    Field Value
    Type Description
    OcrResult.Line

    Paragraph

    The paragraph of text containing this character.

    Declaration
    public OcrResult.Paragraph Paragraph
    Field Value
    Type Description
    OcrResult.Paragraph

    Word

    The word containing this character.

    Declaration
    public OcrResult.Word Word
    Field Value
    Type Description
    OcrResult.Word

    Properties

    Angle

    Declaration
    public double Angle { get; set; }
    Property Value
    Type Description
    System.Double

    CharacterNumber

    A unique ID number for this character within the document. The first character will be 1.

    Declaration
    public int CharacterNumber { get; }
    Property Value
    Type Description
    System.Int32

    Choices

    A list of alternative words choices and their statistical relevance.

    Declaration
    public OcrResult.Choice[] Choices { get; }
    Property Value
    Type Description
    OcrResult.Choice[]

    Font

    Detailed font information for this character. May only be visible using TesseractOnly.

    Declaration
    public OcrResult.OcrFont Font { get; }
    Property Value
    Type Description
    OcrResult.OcrFont

    LooseBottom

    Declaration
    public double LooseBottom { get; set; }
    Property Value
    Type Description
    System.Double

    LooseLeft

    Declaration
    public double LooseLeft { get; set; }
    Property Value
    Type Description
    System.Double

    LooseRight

    Declaration
    public double LooseRight { get; set; }
    Property Value
    Type Description
    System.Double

    LooseTop

    Declaration
    public double LooseTop { get; set; }
    Property Value
    Type Description
    System.Double

    Methods

    ToChar()

    Converts this object to a System.Char

    Declaration
    public char ToChar()
    Returns
    Type Description
    System.Char

    A single character

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    OcrResult.OcrResultTextElement.ToString()

    Implements

    IronSoftware.IDocumentTextObject
    IronSoftware.IBoundedDocumentObject
    IronSoftware.IBounded
    IronSoftware.ITransformable
    IronSoftware.IColored
    System.ICloneable
    IronSoftware.IDocumentCharacter
    IronSoftware.IDocumentObject

    Inherited members

    Clone()
    TextDirection
    Text
    Confidence
    PageIndex
    PdfDocumentId
    ObjNum
    Contents
    Left
    Right
    Top
    Bottom
    Color
    BoundingBox
    Scale
    Translate
    Matrix
    FontSize
    RenderMode
    DocumentId
    FillColor
    StrokeColor
    IsBold
    IsItalic
    ContentStart
    Rotation
    ToBitmap(OcrInput)
    Width
    Height
    X
    Y
    Location
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronOCR to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronOCR free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.