PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.8 Assembly / C1.Win.C1Preview Namespace / C1PreviewPane Class / AdjustPrintPage Event

In This Topic
    AdjustPrintPage Event (C1PreviewPane)
    In This Topic
    Fired from within the System.Drawing.Printing.PrintDocument.PrintPage event handler of the C1.C1Preview.C1PrintManager used to print the document. See C1.C1Preview.C1PrintManager.AdjustPrintPage for details.
    Syntax
    'Declaration
     
    Public Event AdjustPrintPage As AdjustPrintPageEventHandler
    public event AdjustPrintPageEventHandler AdjustPrintPage
    Event Data

    The event handler receives an argument of type AdjustPrintPageEventArgs containing data related to this event. The following AdjustPrintPageEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets a value indicating whether the event hanlder has printed the page, or whether the caller (print manager) should print the page as usual.

    The default is false.

     
    Gets the current page image (usually this is a System.Drawing.Imaging.Metafile).  
    Gets or sets the physical printable area of the printer, in hundredths of an inch. When the event is fired, this property contains the printable area of the printer as returned by the printer driver, rotated if landscape printing. You may want to adjust this property e.g. to compensate for a buggy printer driver reporting incorrect hard margins.  
    Gets the print manager object that is printing the document.  
    Gets the PrintPageEventArgs object passed into the PrintPage event handler of the print manager.  
    See Also