SetCharacterSize Method

NI Vision for Visual Basic

SetCharacterSize Method

Syntax

NIOCRSizeAndSpacingOptions.SetCharacterSize Minimum, Maximum

Purpose

Sets the maximum and minimum possible character sizes.

Parameters

Minimum as Long

Specifies the minimum number of pixels an object must contain to be potential identifiable character. The minimum acceptable value for this parameter is 1. The value of this parameter cannot exceed Maximum.

Maximum as Long

Specifies the maximum number of pixels an object can contain to be potential identifiable character. The minimum acceptable value for this parameter is 1. Set this parameter to 65536 to specify that all widths greater than Minimum are acceptable. The value of this parameter cannot be less than Minimum.