AdvancedOcrReadPdf Method (String, Rectangle, Int32)

Performs OCR on a cropped area of one page of a PDF Document.

Namespace:  IronOcr
Assembly:  IronOcr (in IronOcr.dll) Version: 4.4.0.21181 (4.4.0.0)
Syntax
public OcrResult ReadPdf(
	string PdfFilePath,
	Rectangle CropArea,
	int PageNumber
)

Parameters

PdfFilePath
Type: SystemString
PDF Document to be converted back to text.
CropArea
Type: System.DrawingRectangle
The crop area as a System.Drawing.Rectangle.
PageNumber
Type: SystemInt32

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
Download DLL or Install with Nuget