PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / C1PrintManager Class
Properties Methods Events


In This Topic
    C1PrintManager Class Members
    In This Topic

    The following tables list the members exposed by C1PrintManager.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the C1PrintManager class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets 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.  
    Public PropertyGets the printer name.  
    Public PropertyGets or sets the C1PrintOptions object specifying the printing options.  
    Public PropertyGets or sets the OutputRange object specifying the pages to print.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)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:  
    Public MethodOverloaded. Prints the C1PrintManager.Document with the specified printer settings.  
    Top
    Public Events
     NameDescription
    Public EventFired 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.  
    Public EventOccurs when an external exception is thrown (e.g. while printing).  
    Public EventOccurs 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.  
    Public EventFired from within the System.Drawing.Printing.PrintDocument.QueryPageSettings event handler of the current print manager. Allows to change page settings (e.g. changing PaperSize.)  
    Top
    See Also