Search Results for

    Show / Hide Table of Contents

    Class AdvancedCharacter

    Represents a single character recognized by the advanced OCR engine, including its spatial coordinates.

    This class provides character-level granularity for OcrDocAdvancedResult, enabling precise positional mapping of individual characters within recognized text.

    Inheritance
    System.Object
    AdvancedOcrElement
    AdvancedCharacter
    Inherited Members
    AdvancedOcrElement.Text
    AdvancedOcrElement.X
    AdvancedOcrElement.Y
    AdvancedOcrElement.Width
    AdvancedOcrElement.Height
    AdvancedOcrElement.PageNumber
    AdvancedOcrElement.BoundingBox
    AdvancedOcrElement.RegionIndex
    AdvancedOcrElement.RegionConfidence
    Namespace: IronOcr
    Assembly: IronOcr.dll
    Syntax
    public class AdvancedCharacter : AdvancedOcrElement
    Remarks

    Usage:

    var ocr = new IronTesseract();
    var input = new OcrInput();
    input.LoadPdf("scanned.pdf");
    var result = ocr.ReadDocumentAdvanced(input);
    

    // Access all characters with coordinates foreach (var ch in result.Characters) { Console.WriteLine($"'{ch.Text}' at ({ch.X},{ch.Y}) size ({ch.Width}x{ch.Height}) on page {ch.PageNumber}"); }

    Methods

    ToString()

    Returns a string representation of this character including its text and location.

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

    Inherited members

    Text
    X
    Y
    Width
    Height
    PageNumber
    BoundingBox
    RegionIndex
    RegionConfidence
    ☀
    ☾
    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.