VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Wpf.Print Namespace / WpfImagePrintManager Class / PagePrinting Event

In This Topic
    PagePrinting Event
    In This Topic
    Occurs before printing a page.
    Public Event PagePrinting As EventHandler(Of WpfPagePrintEventArgs)
    public event EventHandler<WpfPagePrintEventArgs> PagePrinting
    public: __event EventHandler<WpfPagePrintEventArgs*>* PagePrinting
    event EventHandler<WpfPagePrintEventArgs^>^ PagePrinting
    Event Data

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

    Gets or sets a value indicating whether the print job should be canceled. (Inherited from Vintasoft.Imaging.Wpf.Print.WpfPrintEventArgs)
    Gets the DrawingContext used to paint the page.  
    Gets a value indicating whether the WpfImagePrintManager is used for print preview. (Inherited from Vintasoft.Imaging.Wpf.Print.WpfPrintEventArgs)
    Gets the System.Windows.Rect structure that defines an area on the page, in device-independent pixels (1/96th inch), within which images can be printed.  
    Gets the zero-based index of the printing page.  
    Gets the System.Windows.Size structure that defines the size of the page, in device-independent pixels (1/96th inch).  

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also