C1.C1Preview Namespace : C1PrintManager Class |
The following tables list the members exposed by C1PrintManager.
Name | Description | |
---|---|---|
C1PrintManager Constructor | Initializes a new instance of the C1PrintManager class. |
Name | Description | |
---|---|---|
Document | Gets or sets the document that to print. If the assigned value is an unsupported object, an exception will be thrown. Use C1PrintManager.IsSupportedDocument to verify that the object can be printed. | |
PrinterName | Gets the printer name. | |
PrintOptions | Gets or sets the C1PrintOptions object specifying the printing options. | |
Range | Gets or sets the OutputRange object specifying the pages to print. |
Name | Description | |
---|---|---|
IsSupportedDocument | Tests whether an object can by printed by this print manager. If this method returns false for an object, an attempt to assign that object to C1PrintManager.Document will cause an exception. Currently supported types include:
| |
Overloaded. Prints the C1PrintManager.Document with the specified printer settings. |
Name | Description | |
---|---|---|
AdjustPrintPage | Fired from within the System.Drawing.Printing.PrintDocument.PrintPage event handler of the current print manager, prior to actually printing the page. Allows to adjust the hard margins of the printer (e.g. to compensate for a buggy printer driver, see AdjustPrintPageEventArgs.PrintableArea), or to print the current page in user code (see AdjustPrintPageEventArgs.Handled). See also C1PrintOptions.PrintAsBitmap. | |
Error | Occurs when an external exception is thrown (e.g. while printing). | |
LongOperation | Occurs periodically when a long operation is in progress. Can be used to provide progress indication and/or the ability for the user to cancel printing. | |
QueryPageSettings | Fired from within the System.Drawing.Printing.PrintDocument.QueryPageSettings event handler of the current print manager. Allows to change page settings (e.g. changing PaperSize.) |