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

In This Topic
    PreviewPrint Event (C1PreviewPane)
    In This Topic
    Occurs immediately before a print dialog is shown by the preview in response to user action. Allows to adjust the properties of the print dialog, or cancel it without showing.
    Syntax
    'Declaration
     
    Public Event PreviewPrint As PreviewPrintEventHandler
    public event PreviewPrintEventHandler PreviewPrint
    Event Data

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

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets the System.Windows.Forms.PrintDialog object related to the event.  
    See Also