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 |
---|---|---|
IronSoftware.Drawing.AnyBitmap | Bitmap | Image |
System.Nullable<System.Int32> | Dpi | Desired DPI |
IronSoftware.Drawing.Rectangle | ContentArea | Desired crop area |
System.String | 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.Byte[] | Bytes | Image data |
System.Nullable<System.Int32> | Dpi | Desired DPI |
IronSoftware.Drawing.Rectangle | ContentArea | Desired crop area |
System.String | 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.IO.Stream | Stream | Image data stream |
System.Nullable<System.Int32> | Dpi | Desired DPI |
IronSoftware.Drawing.Rectangle | ContentArea | Desired crop area |
System.String | 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.String | Path | Image file path |
System.Nullable<System.Int32> | Dpi | Desired DPI |
IronSoftware.Drawing.Rectangle | ContentArea | Desired crop area |
System.String | Title | Title |
Implements
System.IDisposable