Class OcrResult.OcrResultElement
Lowest level of abstract OcrResult DOM element. All result objects extend from this including Ocr
Inheritance
System.Object
OcrResult.OcrResultElement
Namespace: IronOcr
Assembly: IronOcr.dll
Syntax
public abstract class OcrResultElement : Object
Constructors
OcrResultElement()
Declaration
protected OcrResultElement()
Properties
Height
Height in Pixels
Declaration
public int Height { get; }
Property Value
Type | Description |
---|---|
System. |
Location
Returns a Iron
Declaration
public Rectangle Location { get; }
Property Value
Type | Description |
---|---|
Iron |
Width
Width in Pixels
Declaration
public int Width { get; }
Property Value
Type | Description |
---|---|
System. |
X
Position of this OCR Results object on the source image (page) in pixels counted from the left edge.
Declaration
public int X { get; }
Property Value
Type | Description |
---|---|
System. |
Y
Position of this OCR Results object on the source image (page) in pixels counted down from the top edge.
Declaration
public int Y { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
ToBitmap(OcrInput)
Returns an image of this element.
Declaration
public AnyBitmap ToBitmap(OcrInput Input)
Parameters
Type | Name | Description |
---|---|---|
Ocr |
Input | The OcrInput document that was read by Iron |
Returns
Type | Description |
---|---|
Iron |
A Iron |