ElementHorizontalSpacingMaximum Property

NI Vision for Visual Basic

ElementHorizontalSpacingMaximum Property

Syntax

NIOCRSizeAndSpacingOptions.ElementHorizontalSpacingMaximum

Data Type

Long

Purpose

Specifies the maximum horizontal spacing, in pixels, between the elements that are combined to form a single character. For stroke characters, set this value to 1 or 2. For segment characters or pin stamp characters, set this value to 5 or higher. The minimum value for this property is 0. This value cannot exceed the CharacterSpacingMinimum value. Maximum horizontal spacing is required to ensure that NI Vision correctly trains and reads characters that consist of several elements. The default is 1.