Table of Contents
WebView.BeforePrint Event

Triggered before a print task begins.

Syntax
 public event BeforePrintHandler BeforePrint;
Event Data

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

Name Description
IsFromScript Returns a value indicating whether this print task was raised by the page calling "window.print()" from JavaScript code.
MaxPageCount Gets the maximum page count based on the default page size.
PageSettings Gets an PageSettings object that can be used to configure page settings.
PrinterSettings Gets an PrinterSettings object that can be used to configure printer settings.
See Also