public class PrintController
extends com.aspose.ms.System.Drawing.Printing.PrintController
implements com.aspose.ms.System.IDisposable
PrintController class
[C#] try { // streamreader is a global variable that should be accesible from pd_PrintPage procedure streamToPrint = new StreamReader(
Constructor and Description |
---|
PrintController() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
String |
getFileName() |
void |
onEndPage(com.aspose.ms.System.Drawing.Printing.PrintDocument document,
com.aspose.ms.System.Drawing.Printing.PrintPageEventArgs e) |
void |
onEndPrint(com.aspose.ms.System.Drawing.Printing.PrintDocument document,
com.aspose.ms.System.Drawing.Printing.PrintEventArgs e) |
com.aspose.ms.System.Drawing.Graphics |
onStartPage(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) |
void |
setFileName(String value) |
public String getFileName()
public void setFileName(String value)
public 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
public 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
public 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
public 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
public void dispose()
dispose
in interface com.aspose.ms.System.IDisposable
Copyright © 2016 Aspose. All Rights Reserved.