Click or drag to resize

AutoOcrReadPdf Method (Stream, Rectangle, IEnumerableInt32)

Performs OCR on specific cropped area of a PDF Document.

Namespace:  IronOcr
Assembly:  IronOcr (in IronOcr.dll) Version: 4.4.0.21181 (4.4.0.0)
Syntax
public OcrResult ReadPdf(
	Stream PdfStreamData,
	Rectangle CropArea,
	IEnumerable<int> PageRange = null
)

Parameters

PdfStreamData
Type: System.IOStream
The stream data for a PDF Document to be converted back to text.
CropArea
Type: System.DrawingRectangle
The crop area as a System.Drawing.Rectangle.
PageRange (Optional)
Type: System.Collections.GenericIEnumerableInt32

Return Value

Type: OcrResult
Returns Text, Barcodes, and an object model containing rich OCR data such as text-sizes, fonts, statistical confidence, etc.
See Also