Class OcrResult.Line
A line of text within an Paragraph
Implements
IronSoftware.IDocumentTextObject
IronSoftware.IDocumentObject
IronSoftware.IBounded
IronSoftware.IColored
IronSoftware.ITransformable
Inherited Members
Namespace: IronOcr
Assembly: IronOcr.dll
Syntax
public class Line : OcrResult.OcrResultTextElement, IDocumentTextObject, IDocumentObject, IBounded, IColored, ITransformable
Fields
BaselineAngle
Angle at which this line of text slopes.
Declaration
public double BaselineAngle
Field Value
Type | Description |
---|---|
System.Double |
BaselineOffset
pixel offset defining how this line of text slopes.
Declaration
public double BaselineOffset
Field Value
Type | Description |
---|---|
System.Double |
Block
The Block of text which contains this line.
Declaration
public OcrResult.Block Block
Field Value
Type | Description |
---|---|
OcrResult.Block |
Paragraph
The Paragraph which contains this line of text.
Declaration
public OcrResult.Paragraph Paragraph
Field Value
Type | Description |
---|---|
OcrResult.Paragraph |
Properties
Characters
Every symbol (char) contained within this Line. In order of appearance.
Declaration
public OcrResult.Character[] Characters { get; }
Property Value
Type | Description |
---|---|
OcrResult.Character[] |
LineNumber
One based line number (identified) within this OcrResult object.
Declaration
public int LineNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Words
Every OcrResult.Word contained within this Line. In order of appearance.
Declaration
public OcrResult.Word[] Words { get; }
Property Value
Type | Description |
---|---|
OcrResult.Word[] |
Implements
IronSoftware.IDocumentTextObject
IronSoftware.IDocumentObject
IronSoftware.IBounded
IronSoftware.IColored
IronSoftware.ITransformable