com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class PrintController

  • java.lang.Object
    • com.aspose.ms.System.Drawing.Printing.PrintController
      • com.aspose.pdf.PrintController
  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable


    public final class PrintController
    extends com.aspose.ms.System.Drawing.Printing.PrintController
    implements com.aspose.ms.System.IDisposable

    Represents print controller.

    • Constructor Summary

      Constructors 
      Constructor and Description
      PrintController() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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)
      For internal usage only Fires on page end printing.
      void onEndPrint(com.aspose.ms.System.Drawing.Printing.PrintDocument document, com.aspose.ms.System.Drawing.Printing.PrintEventArgs e)
      For internal usage only Fires on page end printing.
      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 Fires on page start printing.
      Graphics2D onStartPagePublic(com.aspose.ms.System.Drawing.Printing.PrintDocument document, com.aspose.ms.System.Drawing.Printing.PrintPageEventArgs e)
      For internal usage only Fires on page start printing.
      void onStartPrint(com.aspose.ms.System.Drawing.Printing.PrintDocument document, com.aspose.ms.System.Drawing.Printing.PrintEventArgs e)
      For internal usage only Fires on page start printing.
      void setFileName(String value)
      Set file name
      • Methods inherited from class com.aspose.ms.System.Drawing.Printing.PrintController

        isPreview
    • Constructor Detail

      • PrintController

        public PrintController()
    • Method Detail

      • getFileName

        public final String getFileName()
        Set file name
        Returns:
        String value
      • setFileName

        public final void setFileName(String value)
        Set file name
        Parameters:
        value - String value
      • onStartPagePublic

        public Graphics2D onStartPagePublic(com.aspose.ms.System.Drawing.Printing.PrintDocument document,
                                            com.aspose.ms.System.Drawing.Printing.PrintPageEventArgs e)
        For internal usage only

        Fires on page start printing.

        Parameters:
        document - Internal instance ( Document to print)
        e - Internal instance (Event arguments)
        Returns:
        Graphics2D instance with printed page.
      • onStartPage

        public 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

        Fires on page start printing.

        Overrides:
        onStartPage in class com.aspose.ms.System.Drawing.Printing.PrintController
        Parameters:
        document - Internal instance ( Document to print)
        e - Internal instance (Event arguments)
        Returns:
        Internal instance
      • onStartPrint

        public void onStartPrint(com.aspose.ms.System.Drawing.Printing.PrintDocument document,
                                 com.aspose.ms.System.Drawing.Printing.PrintEventArgs e)
        For internal usage only

        Fires on page start printing.

        Overrides:
        onStartPrint in class com.aspose.ms.System.Drawing.Printing.PrintController
        Parameters:
        document - Internal instance ( Document to print)
        e - Internal instance (Event arguments)
      • onEndPage

        public void onEndPage(com.aspose.ms.System.Drawing.Printing.PrintDocument document,
                              com.aspose.ms.System.Drawing.Printing.PrintPageEventArgs e)
        For internal usage only

        Fires on page end printing.

        Overrides:
        onEndPage in class com.aspose.ms.System.Drawing.Printing.PrintController
        Parameters:
        document - Internal instance ( Document to print)
        e - Internal instance (Event arguments)
      • onEndPrint

        public void onEndPrint(com.aspose.ms.System.Drawing.Printing.PrintDocument document,
                               com.aspose.ms.System.Drawing.Printing.PrintEventArgs e)
        For internal usage only

        Fires on page end printing.

        Overrides:
        onEndPrint in class com.aspose.ms.System.Drawing.Printing.PrintController
        Parameters:
        document - Internal instance ( Document to print)
        e - Internal instance (Event arguments)
      • dispose

        public final void dispose()
        dispose instance
        Specified by:
        dispose in interface com.aspose.ms.System.IDisposable