public final class PrintController
extends com.aspose.ms.System.Drawing.Printing.PrintController
implements com.aspose.ms.System.IDisposable
Represents print controller.
Constructor and Description |
---|
PrintController() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
dispose instance
|
String |
getFileName()
Set file name
|
void |
onEndPage(com.aspose.ms.System.Drawing.Printing.PrintDocument document,
com.aspose.ms.System.Drawing.Printing.PrintPageEventArgs e)
Internmal method
|
void |
onEndPrint(com.aspose.ms.System.Drawing.Printing.PrintDocument document,
com.aspose.ms.System.Drawing.Printing.PrintEventArgs e)
Internmal method
|
com.aspose.ms.System.Drawing.Graphics |
onStartPage(com.aspose.ms.System.Drawing.Printing.PrintDocument document,
com.aspose.ms.System.Drawing.Printing.PrintPageEventArgs e)
For internal usage only
|
Graphics2D |
onStartPagePublic(com.aspose.ms.System.Drawing.Printing.PrintDocument document,
com.aspose.ms.System.Drawing.Printing.PrintPageEventArgs e) |
void |
onStartPrint(com.aspose.ms.System.Drawing.Printing.PrintDocument document,
com.aspose.ms.System.Drawing.Printing.PrintEventArgs e)
Internmal method
|
void |
setFileName(String value)
Set file name
|
public final String getFileName()
public final void setFileName(String value)
value
- String valuepublic Graphics2D onStartPagePublic(com.aspose.ms.System.Drawing.Printing.PrintDocument document, com.aspose.ms.System.Drawing.Printing.PrintPageEventArgs e)
document
- Internal instancee
- Internal instancepublic com.aspose.ms.System.Drawing.Graphics onStartPage(com.aspose.ms.System.Drawing.Printing.PrintDocument document, com.aspose.ms.System.Drawing.Printing.PrintPageEventArgs e)
onStartPage
in class com.aspose.ms.System.Drawing.Printing.PrintController
document
- Internal instancee
- Internal instancepublic void onStartPrint(com.aspose.ms.System.Drawing.Printing.PrintDocument document, com.aspose.ms.System.Drawing.Printing.PrintEventArgs e)
onStartPrint
in class com.aspose.ms.System.Drawing.Printing.PrintController
document
- Internal instancee
- Internal instancepublic void onEndPage(com.aspose.ms.System.Drawing.Printing.PrintDocument document, com.aspose.ms.System.Drawing.Printing.PrintPageEventArgs e)
onEndPage
in class com.aspose.ms.System.Drawing.Printing.PrintController
document
- Internal instancee
- Internal instancepublic void onEndPrint(com.aspose.ms.System.Drawing.Printing.PrintDocument document, com.aspose.ms.System.Drawing.Printing.PrintEventArgs e)
onEndPrint
in class com.aspose.ms.System.Drawing.Printing.PrintController
document
- Internal instancee
- Internal instancepublic final void dispose()
dispose
in interface com.aspose.ms.System.IDisposable