Packages

 

com.aspose.imaging.fileformats.wmf.objects

Class WmfBitmapBaseHeader

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      short getBitCount()
      Gets or sets a 16-bit unsigned integer that defines the format of each pixel, and the maximum number of colors in the DIB.
      int getHeaderSize()
      Gets or sets a 32-bit unsigned integer that defines the size of this object, in bytes.
      short getPlanes()
      Gets or sets a 16-bit unsigned integer that defines the number of planes for the target device.
      void setBitCount(short value)
      Gets or sets a 16-bit unsigned integer that defines the format of each pixel, and the maximum number of colors in the DIB.
      void setHeaderSize(int value)
      Gets or sets a 32-bit unsigned integer that defines the size of this object, in bytes.
      void setPlanes(short value)
      Gets or sets a 16-bit unsigned integer that defines the number of planes for the target device.
    • Constructor Detail

      • WmfBitmapBaseHeader

        public WmfBitmapBaseHeader()
    • Method Detail

      • getHeaderSize

        public int getHeaderSize()

        Gets or sets a 32-bit unsigned integer that defines the size of this object, in bytes.

      • setHeaderSize

        public void setHeaderSize(int value)

        Gets or sets a 32-bit unsigned integer that defines the size of this object, in bytes.

        Parameters:
        value - a 16-bit unsigned integer that defines the number of planes for the target device. This value MUST be 0x0001.
      • getPlanes

        public short getPlanes()

        Gets or sets a 16-bit unsigned integer that defines the number of planes for the target device. This value MUST be 0x0001.

        Returns:
        a 16-bit unsigned integer that defines the number of planes for the target device.
      • setPlanes

        public void setPlanes(short value)

        Gets or sets a 16-bit unsigned integer that defines the number of planes for the target device. This value MUST be 0x0001.

        Parameters:
        value - a 16-bit unsigned integer that defines the number of planes for the target device. This value MUST be * 0x0001.
      • getBitCount

        public short getBitCount()

        Gets or sets a 16-bit unsigned integer that defines the format of each pixel, and the maximum number of colors in the DIB. This value MUST be in the BitCount Enumeration (section 2.1.1.3).

        Returns:
        a 16-bit unsigned integer that defines the format of each pixel, and the maximum number of colors in the DIB.
      • setBitCount

        public void setBitCount(short value)

        Gets or sets a 16-bit unsigned integer that defines the format of each pixel, and the maximum number of colors in the DIB. This value MUST be in the BitCount Enumeration (section 2.1.1.3).

        Parameters:
        value - a 16-bit unsigned integer that defines the format of each pixel, and the maximum number of colors in the DIB.