The C1PrintManager type exposes the following members.

Constructors

  Name Description
Public method C1PrintManager
Initializes a new instance of the C1PrintManager class.

Methods

  Name Description
Public method Static member 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:
Public method Print(PrinterSettings)
Prints the Document with the specified printer settings.
Public method Print(PrinterSettings, PageSettings)
Prints the Document with the specified printer settings.

Properties

  Name Description
Public property 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.
Public property PrinterName
Gets the printer name.
Public property PrintOptions
Gets or sets the C1PrintOptions object specifying the printing options.
Public property Range
Gets or sets the OutputRange object specifying the pages to print.

Events

  Name Description
Public event 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.
Public event Error
Occurs when an external exception is thrown (e.g. while printing).
Public event 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.

See Also