# 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-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm