Class CustomPrintEventArgs

CustomPrintEventArgs class

Provides data for the CustomPrint event.

public class CustomPrintEventArgs : EventArgs

Constructors

NameDescription
CustomPrintEventArgs(string, PrinterSettings, PageSettings)Initializes CustomPrintEventArgs with the given printer and page settings.

Fields

NameDescription
readonly FileNameGets the name of the file that is being printed.
readonly PageSettingsGets settings that should be applied to each page of the document.
readonly PrinterSettingsGets information about the printer the document should be printed on.

See Also