Click or drag to resize
Pdftools logo

EngineCreate Method

Create a new OCR engine

Optionally the name argument may be followed by "@" and engine creation parameters, e.g. "service@http://localhost:7982/"

Namespace: PdfTools.Ocr
Assembly: PdfTools (in PdfTools.dll) Version: 1.16.0+362ed17524d0f96db0bdf45362ca9dfd8e1a4428
Syntax
C#
public static Engine Create(
	string name
)

Parameters

name  String
The engine name and optional creation parameters.

Return Value

Engine
The newly created engine instance.
Exceptions
ExceptionCondition
GenericExceptionThe engine could not be created, e.g. because the engine is not available.
ArgumentExceptionThe name argument is invalid.
ArgumentNullExceptionif name is .
See Also