AspectRatio Property

NI Vision for Visual Basic

AspectRatio Property

Syntax

NIOCRReadOptions.AspectRatio

Data Type

Long

Purpose

Specifies the aspect ratio. Set this property to 0 to read text without considering the aspect ratio. Set this property to a minimum value of 100 to consider the aspect ratio when reading text. Setting the aspect ratio to 100 indicates that you expect the read character to be exactly the same size as the trained character. This property does not have a maximum value. The default is 0.