Click or drag to resize
OcrPdfRendererCreate Method
Create new instance of OcrPdfRenderer class.

Namespace: Patagames.Ocr
Assembly: Patagames.Ocr (in Patagames.Ocr.dll) Version: 1.7.0.341
Syntax
public static OcrPdfRenderer Create(
	string outputbase,
	string dataDir
)

Parameters

outputbase
Type: SystemString
Path to the output file without extension
dataDir
Type: SystemString
The location of the TESSDATA. We need it because we load a custom PDF font from this location (pdf.ttf).

Return Value

Type: OcrPdfRenderer
New instance of renderer. Throw exception if any errors occurs
Exceptions
ExceptionCondition
CantCreateRendererExceptionThe renderer cannot be created for some reason.
See Also