Packages

 

com.aspose.imaging.fileformats.wmf.objects

Class WmfBitmap16

  • All Implemented Interfaces:
    Cloneable


    public class WmfBitmap16
    extends MetaObject

    The Bitmap16 Object specifies information about the dimensions and color format of a bitmap.

    • Constructor Detail

      • WmfBitmap16

        public WmfBitmap16()
    • Method Detail

      • getType

        public short getType()

        Gets or sets the type.

        Value: The bitmap type.
      • setType

        public void setType(short value)

        Gets or sets the type.

        Value: The bitmap type.
      • getWidth

        public short getWidth()

        Gets or sets the width.

        Value: The width of the bitmap in pixels
      • setWidth

        public void setWidth(short value)

        Gets or sets the width.

        Value: The width of the bitmap in pixels
      • getHeight

        public short getHeight()

        Gets or sets the height.

        Value: The height of the bitmap in scan lines.
      • setHeight

        public void setHeight(short value)

        Gets or sets the height.

        Value: The height of the bitmap in scan lines.
      • getWidthBytes

        public short getWidthBytes()

        Gets or sets the width bytes.

        Value: The number of bytes per scan line.
      • setWidthBytes

        public void setWidthBytes(short value)

        Gets or sets the width bytes.

        Value: The number of bytes per scan line.
      • getPlanes

        public byte getPlanes()

        Gets or sets the planes.

        Value: The value of this field MUST be 0x01.
      • setPlanes

        public void setPlanes(byte value)

        Gets or sets the planes.

        Value: The value of this field MUST be 0x01.
      • getBitsPixel

        public byte getBitsPixel()

        Gets or sets the bits pixel.

        Value: The number of adjacent color bits on each plane.
      • setBitsPixel

        public void setBitsPixel(byte value)

        Gets or sets the bits pixel.

        Value: The number of adjacent color bits on each plane.
      • getBits

        public byte[] getBits()

        Gets or sets the bits.

        Value: The bitmap pixel data. The length of this field in bytes can be computed as follows.
      • setBits

        public void setBits(byte[] value)

        Gets or sets the bits.

        Value: The bitmap pixel data. The length of this field in bytes can be computed as follows.