SetWidth Method

NI Vision for Visual Basic

SetWidth Method

Syntax

NIOCRBoundingRectangle.SetWidth Minimum, Maximum

Purpose

Sets the maximum and minimum possible widths, in pixels, for character bounding rectangles.

Parameters

Minimum as Long

Specifies the minimum value for the bounding rectangle width. The minimum acceptable value for this parameter is 1. The value of this parameter must not be greater than Maximum.

Maximum as Long

Specifies the maximum value for the bounding rectangle width. 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.