Packages

 

com.aspose.imaging.fileformats.psd.resources

Class ResolutionInfoResource



  • public final class ResolutionInfoResource
    extends ResourceBlock

    The resolution info resource

    • Constructor Detail

      • ResolutionInfoResource

        public ResolutionInfoResource()

        Initializes a new instance of the ResolutionInfoResource class.

    • Method Detail

      • getDataSize

        public int getDataSize()

        Gets the resource data size in bytes.

        Value: The resource data size.
        Specified by:
        getDataSize in class ResourceBlock
        Returns:
        The resource data size.
      • getMinimalVersion

        public int getMinimalVersion()

        Gets the minimal required PSD version.

        Value: The minimal PSD version.
        Specified by:
        getMinimalVersion in class ResourceBlock
        Returns:
        The minimal PSD version.
      • getHDpi

        public FixedPointDecimal getHDpi()

        Horizontal DPI.

        Value: The horizontal dpi.
      • setHDpi

        public void setHDpi(FixedPointDecimal value)

        Horizontal DPI.

        Value: The horizontal dpi.
      • getVDpi

        public FixedPointDecimal getVDpi()

        Vertical DPI.

        Value: The vertical dpi.
      • setVDpi

        public void setVDpi(FixedPointDecimal value)

        Vertical DPI.

        Value: The vertical dpi.
      • getHResDisplayUnit

        public int getHResDisplayUnit()

        Display units for horizontal resolution. This only affects the user interface; the resolution is still stored in the PSD file as pixels/inch.

        Value: The horizontal resolution display unit.
      • setHResDisplayUnit

        public void setHResDisplayUnit(int value)

        Display units for horizontal resolution. This only affects the user interface; the resolution is still stored in the PSD file as pixels/inch.

        Value: The horizontal resolution display unit.
      • getVResDisplayUnit

        public int getVResDisplayUnit()

        Display units for vertical resolution.

        Value: The vertical resolution display unit.
      • setVResDisplayUnit

        public void setVResDisplayUnit(int value)

        Display units for vertical resolution.

        Value: The vertical resolution display unit.
      • getWidthDisplayUnit

        public int getWidthDisplayUnit()

        Gets or sets the width display unit.

        Value: The width display unit.
      • setWidthDisplayUnit

        public void setWidthDisplayUnit(int value)

        Gets or sets the width display unit.

        Value: The width display unit.
      • getHeightDisplayUnit

        public int getHeightDisplayUnit()

        Gets or sets the height display unit.

        Value: The height display unit.
      • setHeightDisplayUnit

        public void setHeightDisplayUnit(int value)

        Gets or sets the height display unit.

        Value: The height display unit.