Abstract base class that provides functionality common to all the format option classes in the LEADTOOLS Document Writers.
You cannot use the DocumentOptions class 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 the corresponding DocumentOptions derived class associated with each format:
To change the options used with a particular format, perform the following steps:
Call the DocumentWriter.GetOptions method for the DocumentWriter object being used, passing the DocumentFormat to be used in the format parameter. The resulting object from the base DocumentOptions class needs to be cast to the appropriate derived class described in the previous table.
Use the various derived class properties to change the options.
Call DocumentWriter.SetOptions to set the new options for the engine.
Now call the DocumentWriter.BeginDocument method (using the DocumentFormat value for the format parameter) to create a new document and add the pages.