KeyView 23.3

# Change Document Options

Document options control display elements such as window size, zoom settings, margin size, and scaling. Options are defined for each file type category (for example, spreadsheets, multimedia, and word processing). The document options only apply to the current document and document type. In other words, it initializes the in-memory options of the current Viewer. The options are defined in `kwoption.h`.

To set options for a document

1. Create an ALL_OPTIONS_EX structure.

2. If you are using the `VAPIMWP_INIT_OPEN_DOCUMENT` message to set options, create a TPVAPIOpenDocumentInfo structure.

3. Use either the VAPIMWP_OPTIONS_SETOPTIONS_EX or VAPIMWP_INIT_OPEN_DOCUMENT message.

To get the options of a document, use the VAPIMWP_OPTIONS_GETOPTIONS_EX message.

Copyright 2016-2023 Open Text
Version 23.3 | Last updated June 2023

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL KeyView 23.3

Topic Title: Change Document Options