CustomPrintEventArgs.CustomPrintEventArgs

CustomPrintEventArgs constructor

Initializes CustomPrintEventArgs with the given printer and page settings.

public CustomPrintEventArgs(string fileName, PrinterSettings printerSettings, 
    PageSettings pageSettings)
ParameterTypeDescription
fileNameStringName of the file that is being printed.
printerSettingsPrinterSettingsInformation about the printer the document should be printed on.
pageSettingsPageSettingsSettings that should be applied to each page of the document.

See Also