VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Ocr.Tesseract Namespace / TesseractOcr Class / SetVariable Methods / SetVariable(String,Int32) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
SetVariable(String,Int32) Method (TesseractOcr)
In This Topic
Sets a value of integer variable of Tesseract OCR engine.
Syntax
'Declaration

Public Overloads Function SetVariable( _
ByVal name
Name of the variable.
As System.String, _
ByVal value
Value of the variable.
As System.Int32 _
) As Boolean
public bool SetVariable(
System.String name,
System.Int32 value
)

Parameters

name
Name of the variable.
value
Value of the variable.

Return Value

True if value of variable is successfully set; otherwise, false.
Exceptions
ExceptionDescription
Thrown if OCR engine is not initialized yet.
Remarks

Method Init(OcrEngineSettings) must be executed before executing of this method.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also