The C1PrintDocument component allows you to create complex documents that can be printed, previewed, persisted in a disc file, or exported to a number of external formats including PDF (Portable Document Format) and RTF (Rich Text File).
C1PrintDocument provides a number of unique features, including:
The default namespace used by C1PrintDocument is C1.C1Preview (the Windows Forms controls for previewing documents, uses the default namespace C1.Win.C1Preview).
The whole document is represented by the C1PrintDocument class, which inherits from Component.
The main parts of a C1PrintDocument are:
The actual content of the document text, images and so on. The body represents the logical structure of the document (see also the page collection below).
The collection of pages which were generated based on the content (body) and a particular page setup. Normally the page collection can be regenerated without loss of information (for example, for a different paper size).
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).
Images used in multiple places in a document can be put in the dictionary and reused to improve performance and reduce memory footprint.
The collection of embedded true type fonts used by the document.
The collection of user defined tags that can be inserted in the document to be replaced by their values when the document is generated.
Contains the data schema built-in document.