alexa
menu

Document Processing

    Show / Hide Table of Contents

    Line Class

    Represents one line of text in a paragraph.

    Inheritance
    System.Object
    Line
    Inherited Members
    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)
    System.Object.ToString()
    Namespace: Syncfusion.OCRProcessor
    Assembly: Syncfusion.OCRProcessor.Base.dll
    Syntax
    public class Line

    Constructors

    Line()

    Initialize a new instance of class line.

    Declaration
    public Line()

    Properties

    Rectangle

    Gets the BBox of the text

    Declaration
    public Rectangle Rectangle { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    The bounds of the text.

    Text

    Gets or sets OCR Text.

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

    The text string.

    Words

    Gets the collection of words in a line.

    Declaration
    public OCRWordCollection Words { get; }
    Property Value
    Type
    OCRWordCollection

    Methods

    Add(Word)

    Add a word to OCR word collection.

    Declaration
    public void Add(Word word)
    Parameters
    Type Name Description
    Word word
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved