Sets the extra options to use when saving a document using the specified format.
format
The document format.
options
An instance of an object derived from DocumentOptions. The remarks section lists the various document formats and the derived object that can be used.
You cannot use the DocumentOptions class directly. Instead, use one of the derived classes to get and set the options associated with a document format. The following table list the document formats and the DocumentOptions derived class associated with it:
To change the options used with a particular format, perform the following steps: