Creates a new document file and prepares it for the new pages to be added.
fileName
The name of the new document file.
format
The format of the new document.
Use the DocumentWriter class to create multipage and searchable documents from one or more SVG, EMF, or raster image-based pages by calling the following functions:
Refer to LEADTOOLS Document Writers for more information.
Various popular formats are supported, including PDF, DOC/DOCX, XPS, HTML, RTF, and Text. For a list of all the document formats supported, refer to the DocumentFormat enumeration.
For an example, refer to DocumentWriter.