public class CustomPrintEventArgs
extends com.aspose.ms.System.EventArgs
Provides data for the PdfViewer.getCustomPrintDelegate() event.
Modifier and Type | Field and Description |
---|---|
String |
FileName
Gets the name of the file that is being printed.
|
PrintPageSettings |
PageSettings
Gets settings that should be applied to each page of the document.
|
PdfPrinterSettings |
PrinterSettings
Gets information about the printer the document should be printed on.
|
Constructor and Description |
---|
CustomPrintEventArgs(String fileName,
PdfPrinterSettings printerSettings,
PrintPageSettings pageSettings)
Initializes
CustomPrintEventArgs with the given printer and page settings. |
public final String FileName
Gets the name of the file that is being printed.
public final PdfPrinterSettings PrinterSettings
Gets information about the printer the document should be printed on.
public final PrintPageSettings PageSettings
Gets settings that should be applied to each page of the document.
public CustomPrintEventArgs(String fileName, PdfPrinterSettings printerSettings, PrintPageSettings pageSettings)
Initializes CustomPrintEventArgs
with the given printer and page settings.
fileName
- Name of the file that is being printed.printerSettings
- Information about the printer the document should be printed on.pageSettings
- Settings that should be applied to each page of the document.Copyright © 2023 Aspose. All Rights Reserved.