The C1PrintDocument component provides a rich object model which allows you to create arbitrarily complex documents in code. The object model specifically targets paginated documents, providing a rich set of features facilitating automatic and intelligent pagination of complex structured documents. Documents can be completely created in code, or bound to a database via a powerful and flexible data binding model.
C1PrintDocument can import and generate report definitions with the C1Report component. The C1Report component exposes a rich object model for creating, customizing, loading, and saving report definitions.
PrintDocument Features
Generate Smaller File Sizes Using the C1DX File Format
A new OPC-based file format for C1PrintDocument objects, C1D OpenXML (C1DX) complies with Microsoft Open Packaging Conventions and is similar to the Microsoft Office 2007 OpenXML format. Due to built-in compression, resulting files are smaller in size. The current Preview for WinForms C1D format is also fully supported for backwards compatibility.
GDI+ Text Rendering
By setting one property you can render text using the GDI+ text API – with GDI+ text rendering text looks similar to text in Microsoft Office 2007 and matches the default text layout in XPS.
Control Exported PDF File's Display
You can control how an exported PDF file is displayed in Adobe Acrobat. For example, set the how pages are viewed (for instance, one page at a time or two pages in columns) and the visibility of various elements (that is, if thumbnail images or a document outline view is visible).
Save and Share Documents with Ease
Multiple export format options make saving and sharing documents easy. Export your documents to Adobe Portable Document Format (PDF), Excel (XLS and XLSX), Word (RTF and DOCX), HTML, and several image formats.
Rich Formatting Options
Control the look of your document with support for paragraphs of text with multiple fonts, text and background colors, text positioning (subscript, superscript), inline images, various text alignment (including justified text), and more.
Generate Interactive Documents
Make documents interactive by adding hyperlinks, link targets, and more. Any document element can be a hyperlink, or a hyperlink jump target. You can also indicate that an element should be an item of the automatically generated table of contents (TOC).
Clearly Organize Your Documents Using Hierarchical Styles
Hierarchical styles control the look of all document elements, with intelligent support for ambient and non-ambient style attributes. Specify individual font attributes (such as boldness or font size), table grid lines, and more.
VBScript Expressions
Document text elements may contain VBScript expressions, including extensions for aggregate expressions (sum, max, average, and so on), and have access to the control's object model.
Choose From Multiple Page Layouts
Several page layouts accommodating different paper sizes, page settings, number of columns, page headers, and so on can be predefined and selected at run time by setting a single property.
Powerful Sizing and Positioning of Document Elements
Document element size and position can be specified as absolute values, relative to other elements’ sizes and positions, or as simple expressions combining absolute and relative values. For example, specify the width of an element as a percentage of the parent element or of the current page width.
Powerful Microsoft Excel-like Tables
Group table elements, apply styles to groups, modify row and column headers, and more. Tables support an Excel-like object model, with a logically infinite number of columns and rows. Simply accessing a table element instantiates it, so you never have to worry about specifying the correct table size.
Supports Horizontal Page Layout
Set wide elements to extend to multiple horizontal pages.
Supports Tags to Insert Unknown Values
Add placeholders where you want to insert unknown strings, such as page numbers.
Embed True Type Fonts
Embed fonts to guarantee text is rendered correctly on any system – even if the fonts used are not installed on the system used to preview or print the document.
Add Barcodes to Documents
Add barcodes in a number of formats to documents.
Dictionary Support
Store resources (such as images) used throughout the document in the document dictionary to save space.