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.18.0+b1d0ba2880e819b0af6ed309ecaa192439f42fd7
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