CustomPrintEventArgs
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.ms.System.EventArgs
public class CustomPrintEventArgs extends System.EventArgs
Provides data for the PdfViewer.getCustomPrintDelegate() event.
Constructors
Constructor | Description |
---|---|
CustomPrintEventArgs(String fileName, PdfPrinterSettings printerSettings, PrintPageSettings pageSettings) | Initializes CustomPrintEventArgs with the given printer and page settings. |
Fields
Field | Description |
---|---|
FileName | Gets the name of the file that is being printed. |
PrinterSettings | Gets information about the printer the document should be printed on. |
PageSettings | Gets settings that should be applied to each page of the document. |
CustomPrintEventArgs(String fileName, PdfPrinterSettings printerSettings, PrintPageSettings pageSettings)
public CustomPrintEventArgs(String fileName, PdfPrinterSettings printerSettings, PrintPageSettings pageSettings)
Initializes CustomPrintEventArgs with the given printer and page settings.
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | Name of the file that is being printed. |
printerSettings | PdfPrinterSettings | Information about the printer the document should be printed on. |
pageSettings | PrintPageSettings | Settings that should be applied to each page of the document. |
FileName
public final String FileName
Gets the name of the file that is being printed.
PrinterSettings
public final PdfPrinterSettings PrinterSettings
Gets information about the printer the document should be printed on.
PageSettings
public final PrintPageSettings PageSettings
Gets settings that should be applied to each page of the document.