Getting Started with LEADTOOLS > Document Imaging Features > Document Writers > Document Writers |
LEADTOOLS Document Writers class library provides programming tools for creating popular multi-page and searchable documents such as Adobe PDF, Microsoft Word and HTML from standard Windows Enhanced Meta File (EMF) objects.
Supported Document Formats
Adobe Portable Document Format (PDF). With support for PDF/A and optional image over text overlays. The PDF document support requires unlocking an extra key before it can be used. For more information, refer to Unlocking Special LEAD Features.
Microsoft XML Paper Specification (XPS) (Note: Not supported in this version of LEADTOOLS. For more information, contact LEAD)
Microsoft Word document format (DOC)
Microsoft Rich Text Format (RTF)
HyperText Markup Language (HTML)
Windows Enhanced Meta File (EMF)
Text (both ANSI and UNICODE) LEADTOOLS
Temporary Document (LTD). This format creates a temporary file on disk that can later be converted to any of the other formats supported by the LEADTOOLS Document Writers. This format is intended to be used when creating a document with a large number of pages over multiple sessions (for example, in a server-based scenario).
Windows Enhanced Meta File
The Windows Enhanced Meta File (EMF) object is a standard Windows Enhanced Meta File object. An EMF is a collection of structures that store a picture in a device-independent format. Device independence is the one feature that sets metafiles apart from raster images. Unlike a raster image, a metafile guarantees device independence. The EMF can contain various objects such as Text, Lines and raster images. EMF also contains resolution or Dots/Inch (DPI) information that is used to calculate the real size of the picture stored inside.
Windows Enhanced Meta File (EMF) objects can be obtained from various sources, for example:
The LEADTOOLS Annotations toolkit has support for creating an EMF file representation of the annotation objects in a container. Therefore, you can use the Annotations toolkit to create a document and populate it with various annotations objects and then save the result as a PDF file for example using the LEADTOOLS Document Writers. The Document Writer demo shipping with the LEADTOOLS Toolkit shows an example on this scenario. For more information, refer to Programming With LEADTOOLS Annotations.
The LEADTOOLS Virtual Printer Driver toolkit allows you to capture output from any Windows application as an EMF handle. You can then use the LEADTOOLS Document Writers to convert this output to a PDF, HTML or a DOC document. For more information, refer to LEADTOOLS Virtual Printer Driver.
The Windows Enhanced Meta File (EMF) is a standard format in Microsoft Windows. Many other applications and frameworks provide support for outputting as EMF. You can convert the output from any such application or framework to any of the document formats supported by the LEADTOOLS Document Writers
Key Features:
Support for PDF/A. PDF/A is a subset of PDF obtained by leaving out PDF features not suited to long-term archiving. The resulting document is guaranteed to look exactly like the original version when viewed on the target machine. Saving with PDF/A document type may result in larger output file sizes.
Extra options for the various flavors of the output documents supported. For example, adding page numbers and breaks to text files and frames (text box objects) in DOC files.
Support provided to monitor the document creation operation through a progress event. Your application can provide a visual feedback using a progress bar and a cancel button to the user to allow both monitoring and abortion of the current operation
Supported Platforms