com.aspose.pdf.printing

Class PdfPrinterResolution



  • public class PdfPrinterResolution
    extends Object
    Represents the resolution supported by a printer.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PdfPrinterResolution()
      Initializes a new instance of the PrinterResolution class.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getKind()
      sets the printer resolution.
      int getX()
      Gets the horizontal printer resolution, in dots per inch.
      int getY()
      Gets the vertical printer resolution, in dots per inch.
      void setKind(int value)
      Gets or sets the printer resolution.
      void setX(int value)
      Sets the horizontal printer resolution, in dots per inch.
      void setY(int value)
      Sets the vertical printer resolution, in dots per inch.
    • Constructor Detail

      • PdfPrinterResolution

        public PdfPrinterResolution()
        Initializes a new instance of the PrinterResolution class.
    • Method Detail

      • getKind

        public int getKind()
        sets the printer resolution.
        Returns:
        PdfPrinterResolutionKind element
        See Also:
        PdfPrinterResolutionKind
      • setKind

        public void setKind(int value)
        Gets or sets the printer resolution.
        Parameters:
        value - PdfPrinterResolutionKind element
        See Also:
        PdfPrinterResolutionKind
      • getX

        public int getX()
        Gets the horizontal printer resolution, in dots per inch.
        Returns:
        int value
      • setX

        public void setX(int value)
        Sets the horizontal printer resolution, in dots per inch.
        Parameters:
        value - int value
      • getY

        public int getY()
        Gets the vertical printer resolution, in dots per inch.
        Returns:
        int value
      • setY

        public void setY(int value)
        Sets the vertical printer resolution, in dots per inch.
        Parameters:
        value - int value