WriteOCRFile Method

NI Vision for Visual Basic

WriteOCRFile Method

Syntax

NIOCR.WriteOCRFile Filename, [CharacterSetDescription]

Return Type

Long

Purpose

Stores the trained character set and the properties of NIOCRProcessingOptions, NIOCRSizeAndSpacingOptions, and NIOCRReadOptions in the file specified by Filename.

Parameters

Filename as String

File that the method uses for this operation.

CharacterSetDescription as Variant

The trained character set description to store in the file. The description must not exceed 255 characters. Do not pass this parameter if you do not need to store this information.