Class OcrImageInput
OCR input based on image data
Implements
System.IDisposable
Inherited Members
Namespace: IronOcr
Assembly: IronOcr.dll
Syntax
public class OcrImageInput : OcrInputBase, IDisposable
Constructors
OcrImageInput(AnyBitmap, Nullable<Int32>, Rectangle, String)
Create a new OCR image input from the specified AnyBitmap
Declaration
public OcrImageInput(AnyBitmap Bitmap, Nullable<int> Dpi = null, Rectangle ContentArea = null, string Title = null)
Parameters
Type | Name | Description |
---|---|---|
Iron |
Bitmap | Image |
System. |
Dpi | Desired DPI |
Iron |
ContentArea | Desired crop area |
System. |
Title | Title |
OcrImageInput(Byte[], Nullable<Int32>, Rectangle, String)
Create a new OCR image input from the specified byte array
Declaration
public OcrImageInput(byte[] Bytes, Nullable<int> Dpi = null, Rectangle ContentArea = null, string Title = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
Bytes | Image data |
System. |
Dpi | Desired DPI |
Iron |
ContentArea | Desired crop area |
System. |
Title | Title |
OcrImageInput(Stream, Nullable<Int32>, Rectangle, String)
Create a new OCR image input from the specified stream
Declaration
public OcrImageInput(Stream Stream, Nullable<int> Dpi = null, Rectangle ContentArea = null, string Title = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
Stream | Image data stream |
System. |
Dpi | Desired DPI |
Iron |
ContentArea | Desired crop area |
System. |
Title | Title |
OcrImageInput(String, Nullable<Int32>, Rectangle, String)
Create a new OCR image input from the specified path
Declaration
public OcrImageInput(string Path, Nullable<int> Dpi = null, Rectangle ContentArea = null, string Title = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
Path | Image file path |
System. |
Dpi | Desired DPI |
Iron |
ContentArea | Desired crop area |
System. |
Title | Title |
Implements
System.IDisposable