com.aspose.pdf.devices

Class Resolution



  • public final class Resolution
    extends Object

    Represents class for holding image resolution.

    • Constructor Detail

      • Resolution

        public Resolution(int value)

        Initializes a new instance of the Resolution class.

        Parameters:
        value - Value which represents the horizontal and vertical resolution.
      • Resolution

        public Resolution(int valueX,
                          int valueY)

        Initializes a new instance of the Resolution class.

        Parameters:
        valueX - Horizontal resolution.
        valueY - Vertical resolution.
    • Method Detail

      • getX

        public int getX()

        Gets horizontal image resolution.

        Returns:
        int value
      • setX

        public void setX(int value)

        Sets horizontal image resolution.

        Parameters:
        value - int value
      • getY

        public int getY()

        Gets vertical image resolution.

        Returns:
        int value
      • setY

        public void setY(int value)

        Sets vertical image resolution.

        Parameters:
        value - int value