File Content Extraction 26.1
Viewing SDK Programming Guide

# OPENMode

The `OPENMode` property specifies the behavior of the Openmethod.

## Returns

Type | Description
--- | ---
Short | `0` – Default open, generates a formatted view of the document if the document format is supported. `1` – Open with a text view of the document. `2` – Open without generating a view. This is useful when, for example, you want to print a document without viewing it. `3` – Open with a text view of the document automatically when the document is an unsupported format. `5` – Open the file with indexing enabled. This generates text buffer events. `6` – Open the file for indexing only. This generates text buffer events with document viewing disabled. To get text buffer events in this mode, you need to call the `GetNextTextBuffer` method—except for the first text buffer). `7` – Open the file with drawing methods and properties enabled. `8` – Open the files with revision marks enabled.

Copyright 2016-2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.1

Topic Title: OPENMode