# PrintDocument Library

Easily create complex documents that can be printed. Learn more about WinForms PrintDocument from this documentation helpfile.

## Content



The PrintDocument library allows you to create complex documents that can be previewed, printed, persisted in a disc file, or exported to various external formats including PDF and RTF.

The main parts of a PrintDocument are elaborated below:

*   **Body**: Represents the actual content of the document such as text, images and so on.
*   **Pages**: Represents the collection of pages which are generated based on the content (body) and a particular page setup.
*   **Style**: Represents the root style of the document. Styles control most of the visual properties of the document elements (such as fonts, colors, line styles and so on).
*   **Dictionary**: Can be used to store the images or icons used in multiple places in a document, and reused to improve performance and reduce memory footprint.
*   **EmbeddedFonts**: Represents the collection of embedded true type fonts used by the document.
*   Tags: Represents the collection of user-defined tags that can be inserted in the document to be replaced by their values when the document is generated.
*   **DataSchema**: Contains the built-in data schema for the document.

Learn more about PrintDocument and its features like Render objects, DataBinding, Expression, Tags, Tables, Hyperlinks etc. from the sub-topics.