format
The document format.
The document options for this format. Note that the returned object from the baseDocumentOptionsclass needs to be cast to one of the derived classes based onformat.
You cannot use theDocumentOptionsclass directly. Instead, use one of the derived classes to get and set the options associated with that document format. The following table lists the document formats and theDocumentOptionsderived class associated with it:
To change the options used with a particular format, perform the following steps:
For an example, refer toDocumentWriter.