com.aspose.note

Class PrintOptions



  • public class PrintOptions
    extends Object

    Options used to print a document.

    • Constructor Detail

      • PrintOptions

        public PrintOptions()

        Initializes a new instance of the PrintOptions class.

    • Method Detail

      • getPrinterSettings

        public AttributeSet getPrinterSettings()

        Gets or sets the printer settings.

      • setPrinterSettings

        public void setPrinterSettings(AttributeSet value)

        Gets or sets the printer settings.

      • getDocumentName

        public String getDocumentName()

        Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document.

      • setDocumentName

        public void setDocumentName(String value)

        Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document.

      • getResolution

        public float getResolution()

        Gets or sets the resolution for the generated images, in dots per inch.


        The default value is 96.
      • setResolution

        public void setResolution(float value)

        Gets or sets the resolution for the generated images, in dots per inch.


        The default value is 96.
      • getPageSplittingAlgorithm

        public PageSplittingAlgorithm getPageSplittingAlgorithm()

        Gets or sets algorithm used for page splitting.

        Value: The PageSplittingAlgorithm.
      • setPageSplittingAlgorithm

        public void setPageSplittingAlgorithm(PageSplittingAlgorithm value)

        Gets or sets algorithm used for page splitting.

        Value: The PageSplittingAlgorithm.