Class OcrResult.Character
Represents a single character (char) of text.
Inheritance
System.Object
OcrResult.Character
Implements
IronSoftware.Abstractions.Pdf.IDocumentTextObject
IronSoftware.Abstractions.Pdf.IBoundedPdfDocumentObject
IronSoftware.Abstractions.IBounded
IronSoftware.ITransformable
IronSoftware.Abstractions.IColored
System.ICloneable
IronSoftware.Abstractions.Pdf.IDocumentCharacter
IronSoftware.Abstractions.Pdf.IPdfDocumentObject
IronSoftware.Abstractions.IDocumentObject
Assembly: IronOcr.dll
Syntax
public class Character : OcrResult.OcrResultTextElement, IDocumentTextObject, IBoundedPdfDocumentObject, IBounded, ITransformable, IColored, ICloneable, IDocumentCharacter, IPdfDocumentObject, IDocumentObject
Fields
Block
The block of text containing this character.
Declaration
public OcrResult.Block Block
Field Value
Line
The line of text containing this character.
Declaration
public OcrResult.Line Line
Field Value
Paragraph
The paragraph of text containing this character.
Declaration
public OcrResult.Paragraph Paragraph
Field Value
Word
The word containing this character.
Declaration
public OcrResult.Word Word
Field Value
Properties
Angle
Declaration
public double Angle { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
CharacterNumber
A unique ID number for this character within the document. The first character will be 1.
Declaration
public int CharacterNumber { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Choices
A list of alternative words choices and their statistical relevance.
Declaration
public OcrResult.Choice[] Choices { get; }
Property Value
Font
Detailed font information for this character. May only be visible using TesseractOnly.
Declaration
public OcrResult.OcrFont Font { get; }
Property Value
LooseBottom
Declaration
public double LooseBottom { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
LooseLeft
Declaration
public double LooseLeft { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
LooseRight
Declaration
public double LooseRight { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
LooseTop
Declaration
public double LooseTop { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Methods
ToChar()
Converts this object to a System.Char
Declaration
Returns
| Type |
Description |
| System.Char |
A single character
|
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Overrides
Implements
IronSoftware.Abstractions.Pdf.IDocumentTextObject
IronSoftware.Abstractions.Pdf.IBoundedPdfDocumentObject
IronSoftware.Abstractions.IBounded
IronSoftware.ITransformable
IronSoftware.Abstractions.IColored
System.ICloneable
IronSoftware.Abstractions.Pdf.IDocumentCharacter
IronSoftware.Abstractions.Pdf.IPdfDocumentObject
IronSoftware.Abstractions.IDocumentObject