Search Results for

    Show / Hide Table of Contents

    Class OcrResult.Block

    Represents a block of text containing zero or more paragraphs.

    Inheritance
    System.Object
    OcrResult.OcrResultElement
    OcrResult.OcrResultTextElement
    OcrResult.Block
    Inherited Members
    OcrResult.OcrResultTextElement.ToString()
    OcrResult.OcrResultTextElement.TextDirection
    OcrResult.OcrResultTextElement.Text
    OcrResult.OcrResultTextElement.Confidence
    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 class Block : OcrResult.OcrResultTextElement

    Properties

    BlockNumber

    A unique ID for this Block within its OcrResult object. The first block will be numbered 1.

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

    BlockType

    A string representation of the type of block.

    See https://github.com/charlesw/tesseract/blob/master/src/Tesseract/PolyBlockType.cs

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

    Characters

    Every character of text within this block - in order.

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

    Lines

    Every line of text within this block.

    Declaration
    public OcrResult.Line[] Lines { get; }
    Property Value
    Type Description
    OcrResult.Line[]

    Paragraphs

    Every paragraph of text within this block.

    Declaration
    public OcrResult.Paragraph[] Paragraphs { get; }
    Property Value
    Type Description
    OcrResult.Paragraph[]

    Words

    Every word of text within this block - in order.

    Declaration
    public OcrResult.Word[] Words { get; }
    Property Value
    Type Description
    OcrResult.Word[]
    ☀
    ☾
    In This Article
    Back to top
    Install with Nuget