Sets the current 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). This is a parameter of the VAPIM_OPTIONS
message. See Change Document Options.
#include <kvvapi.h> #include <kwoption.h> SendMessage(hWndVAPI, VAPIM_OPTIONS, VAPIMWP_OPTIONS_SETOPTIONS_EX, (LPARAM) (ALL_OPTIONS_EX*) lpAllOptions );
Argument |
Description |
---|---|
|
The handle of the VAPI window. |
|
A pointer to an ALL_OPTIONS_EX structure that shows the document options. |
SendMessage()
returns TRUE
if the call succeeds; otherwise it returns FALSE
.
Use this message to set the options for the document. This message does not save the document options in the registry. In addition, this message sets the document options for the current document and document type only. In other words, it initializes the in-memory options of the current Viewer.
_FT_HTML5_bannerTitle.htm