com.aspose.pdf.printing

Class PrintPaperSource



  • public class PrintPaperSource
    extends Object
    Specifies the paper tray from which the printer gets paper.
    • Constructor Detail

      • PrintPaperSource

        public PrintPaperSource()
        Initializes a new instance of the PaperSource class.
    • Method Detail

      • getKind

        public int getKind()
        Gets the paper source.
        Returns:
        int value
      • getRawKind

        public int getRawKind()
        Gets or sets the integer representing one of the PaperSourceKind values or a custom value.
        Returns:
        int value
      • getSourceName

        public String getSourceName()
        Gets or sets the name of the paper source.
        Returns:
        String value
      • setRawKind

        public void setRawKind(int value)
        Gets or sets the integer representing one of the PaperSourceKind values or a custom value.
        Parameters:
        value - int value
      • setSourceName

        public void setSourceName(String value)
        Gets or sets the name of the paper source.
        Parameters:
        value - String value
      • toString

        public String toString()
        Infrastructure. Provides information about the PrintPaperSource in string form.
        Overrides:
        toString in class Object
        Returns:
        String value