alexa
menu

Document Processing

    Show / Hide Table of Contents

    Page Class

    Repersents the OCR'ed Page

    Inheritance
    System.Object
    Page
    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 Page

    Constructors

    Page()

    Initialize a new instance of class line.

    Declaration
    public Page()

    Properties

    ImageRotation

    Gets or sets the rotation angle of the image in degrees.

    Declaration
    public int ImageRotation { get; set; }
    Property Value
    Type
    System.Int32

    Lines

    Get the lines for the OCR'ed page

    Declaration
    public OCRLineCollection Lines { get; }
    Property Value
    Type
    OCRLineCollection
    See Also
    OCRLineCollection

    Rectangle

    Gets or sets 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.

    Methods

    Add(Line)

    Add a line to OCR line collection.

    Declaration
    public void Add(Line line)
    Parameters
    Type Name Description
    Line line

    DetectBestOrientation(out Int32, out Single)

    Declaration
    public void DetectBestOrientation(out int orientation, out float confidence)
    Parameters
    Type Name Description
    System.Int32 orientation
    System.Single confidence

    DetectBestOrientationAndScript(out Int32, out Single, out String, out Single)

    Declaration
    public void DetectBestOrientationAndScript(out int orientation, out float confidence, out string scriptName, out float scriptConfidence)
    Parameters
    Type Name Description
    System.Int32 orientation
    System.Single confidence
    System.String scriptName
    System.Single scriptConfidence
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved