TemplateOptions

Inheritance: java.lang.Object

public class TemplateOptions

Provides the options which are used for parsing by template functionality.

Constructors

Constructor Description
TemplateOptions(double rectangleTolerance) Initializes a new instance of the TemplateOptions class.

Methods

Method Description
getRectangleTolerance() Gets the size of the border that is ignored when captured by the rectangular area.

TemplateOptions(double rectangleTolerance)

public TemplateOptions(double rectangleTolerance)

Initializes a new instance of the TemplateOptions class.

Parameters:

Parameter Type Description
rectangleTolerance double The size of the border that is ignored when captured by the rectangular area. It’s measured by the fraction of a text item height.

getRectangleTolerance()

public double getRectangleTolerance()

Gets the size of the border that is ignored when captured by the rectangular area. It’s measured by the fraction of a text item height.

Returns: double - The double value from 0 (no border) to 1 (ignore the whole element).