Search Results for

    Show / Hide Table of Contents

    Class OcrResult.Line

    A line of text within an Paragraph

    Inheritance
    System.Object
    OcrResult.OcrResultElement
    OcrResult.OcrResultTextElement
    OcrResult.Line
    Implements
    IronSoftware.IDocumentTextObject
    IronSoftware.IBoundedDocumentObject
    IronSoftware.IDocumentObject
    IronSoftware.IBounded
    IronSoftware.ITransformable
    IronSoftware.IColored
    System.ICloneable
    Inherited Members
    OcrResult.OcrResultTextElement.ToString()
    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.Font
    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 Line : OcrResult.OcrResultTextElement, IDocumentTextObject, IBoundedDocumentObject, IDocumentObject, IBounded, ITransformable, IColored, ICloneable

    Fields

    BaselineAngle

    Angle at which this line of text slopes.

    Declaration
    public double BaselineAngle
    Field Value
    Type Description
    System.Double

    BaselineOffset

    pixel offset defining how this line of text slopes.

    Declaration
    public double BaselineOffset
    Field Value
    Type Description
    System.Double

    Block

    The Block of text which contains this line.

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

    Paragraph

    The Paragraph which contains this line of text.

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

    Properties

    Characters

    Every symbol (char) contained within this Line. In order of appearance.

    Declaration
    public OcrResult.Character[] Characters { get; }
    Property Value
    Type Description
    OcrResult.Character[]

    LineNumber

    One based line number (identified) within this OcrResult object.

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

    Words

    Every OcrResult.Word contained within this Line. In order of appearance.

    Declaration
    public OcrResult.Word[] Words { get; }
    Property Value
    Type Description
    OcrResult.Word[]

    Implements

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

    Inherited members

    ToString()
    Clone()
    TextDirection
    Text
    Confidence
    PageIndex
    PdfDocumentId
    ObjNum
    Contents
    Left
    Right
    Top
    Bottom
    Color
    BoundingBox
    Scale
    Translate
    Matrix
    Font
    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.