MarginsMode property (ILTDocumentOptions)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

MODE_SELECTOR MarginsMode

Overview

Refer to Using the Document Options

Remarks

Gets or sets a value that indicates whether the margins will be exported, and if so, whether the margins are calculated or predefined. . For a list of possible values, refer to MODE_SELECTOR.

This property is updated with the current values when the GetRecognitionResultOptions method is called.

To update the document options for saving the recognition results, set this property and the other ILTDocumentOptions properties accessed by the DocumentOptions property of the ResultOptions property, and call the SetRecognitionResultOptions method.

See Also

Elements:

PaperSizeMode property, PaperType property, PaperOrientation property, LanguageMode property, ResultLanguage property, Color property, EnableTextInBoxes, MarginLeft property, MarginTop property, MarginWidth property, MarginHeight property, EnablePageBreaks property, TableMethod property, DocumentOptions property, ResultOptions property, GetRecognitionResultOptions method, SetRecognitionResultOptions method

Topics:

Quick Reference OCR: Using the Document Options