The C1PrintManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
C1PrintManager |
Initializes a new instance of the C1PrintManager class.
|
Methods
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 Document will cause an exception.
Currently supported types include:
|
|
Print(PrinterSettings) |
Prints the Document with the specified printer settings.
|
|
Print(PrinterSettings, PageSettings) |
Prints the Document with the specified printer settings.
|
Properties
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 IsSupportedDocument(Object) 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.
|
Events
Name | Description | |
---|---|---|
AdjustPrintPage |
Fired from within the 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 PrintableArea),
or to print the current page in user code (see Handled).
See also 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.
|