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)
      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
      • 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)
        Parameters:
        document - Internal instance
        e - Internal instance
        Returns:
        Graphics2D instance
      • 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
        Overrides:
        onStartPage in class com.aspose.ms.System.Drawing.Printing.PrintController
        Parameters:
        document - Internal instance
        e - Internal instance
        Returns:
        Internal instance
      • onStartPrint

        public void onStartPrint(com.aspose.ms.System.Drawing.Printing.PrintDocument document,
                                 com.aspose.ms.System.Drawing.Printing.PrintEventArgs e)
        Internmal method
        Overrides:
        onStartPrint in class com.aspose.ms.System.Drawing.Printing.PrintController
        Parameters:
        document - Internal instance
        e - Internal instance
      • onEndPage

        public void onEndPage(com.aspose.ms.System.Drawing.Printing.PrintDocument document,
                              com.aspose.ms.System.Drawing.Printing.PrintPageEventArgs e)
        Internmal method
        Overrides:
        onEndPage in class com.aspose.ms.System.Drawing.Printing.PrintController
        Parameters:
        document - Internal instance
        e - Internal instance
      • onEndPrint

        public void onEndPrint(com.aspose.ms.System.Drawing.Printing.PrintDocument document,
                               com.aspose.ms.System.Drawing.Printing.PrintEventArgs e)
        Internmal method
        Overrides:
        onEndPrint in class com.aspose.ms.System.Drawing.Printing.PrintController
        Parameters:
        document - Internal instance
        e - Internal instance
      • dispose

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