Packages

 

com.aspose.psd.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
      • getMinimalVersion

        public int getMinimalVersion()

        Gets the minimal required PSD version.

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

        public final FixedPointDecimal getHDpi()

        Horizontal DPI.

        Value: The horizontal dpi.
      • setHDpi

        public final void setHDpi(FixedPointDecimal value)

        Horizontal DPI.

        Value: The horizontal dpi.
      • getVDpi

        public final FixedPointDecimal getVDpi()

        Vertical DPI.

        Value: The vertical dpi.
      • setVDpi

        public final void setVDpi(FixedPointDecimal value)

        Vertical DPI.

        Value: The vertical dpi.
      • getHResDisplayUnit

        public final 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 final 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 final int getVResDisplayUnit()

        Display units for vertical resolution.

        Value: The vertical resolution display unit.
      • setVResDisplayUnit

        public final void setVResDisplayUnit(int value)

        Display units for vertical resolution.

        Value: The vertical resolution display unit.
      • getWidthDisplayUnit

        public final int getWidthDisplayUnit()

        Gets or sets the width display unit.

        Value: The width display unit.
      • setWidthDisplayUnit

        public final void setWidthDisplayUnit(int value)

        Gets or sets the width display unit.

        Value: The width display unit.
      • getHeightDisplayUnit

        public final int getHeightDisplayUnit()

        Gets or sets the height display unit.

        Value: The height display unit.
      • setHeightDisplayUnit

        public final void setHeightDisplayUnit(int value)

        Gets or sets the height display unit.

        Value: The height display unit.