com.groupdocs.metadata.legacy

Interfaces

Classes

Exceptions

com.groupdocs.metadata.legacy

Class Dimensions

    • Constructor Detail

      • Dimensions

        public Dimensions()
        Deprecated. 

        Initializes a new instance of the Dimensions class.

      • Dimensions

        public Dimensions(float width,
                  float height)
        Deprecated. 

        Initializes a new instance of the Dimensions class.

        Parameters:
        width - The width.
        height - The height.
    • Method Detail

      • getWidth

        public final float getWidth()
        Deprecated. 

        Gets or sets width.

        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Width could not be less than zero. Value: The width.
      • setWidth

        public final void setWidth(float value)
        Deprecated. 

        Gets or sets width.

        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Width could not be less than zero. Value: The width.
      • getHeight

        public final float getHeight()
        Deprecated. 

        Gets or sets height.

        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Height could not be less than zero. Value: The height.
      • setHeight

        public final void setHeight(float value)
        Deprecated. 

        Gets or sets height.

        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Height could not be less than zero. Value: The height.
      • getUnits

        public final String getUnits()
        Deprecated. 

        Gets units.

        Returns:
        Units: inch, mm, pixel etc.
      • setUnits

        public final void setUnits(String value)
        Deprecated. 

        Sets units.

        Parameters:
        value - Units: inch, mm, pixel etc.