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.17.0+23d126d295bd5cb25c315a91f72f3e0c111acb34
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