Packages

 

com.aspose.imaging.fileformats.wmf.objects

Class WmfDeviceIndependentBitmap

  • All Implemented Interfaces:
    Cloneable


    public class WmfDeviceIndependentBitmap
    extends MetaObject

    The DeviceIndependentBitmap Object defines an image in device-independent bitmap (DIB) format

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      byte[] getAData()
      Gets or sets an array of bytes that define the image.
      byte[] getCachedImage()
      Gets or sets the cached raster image.
      byte[] getColorsData()
      Gets or sets an optional array of either RGBQuad Objects (section 2.2.2.20) or 16-bit unsigned integers that define a color table.
      WmfBitmapBaseHeader getHeader()
      Gets or sets either a BitmapCoreHeader Object (section 2.2.2.2) or a BitmapInfoHeader Object (section 2.2.2.3) that specifies information about the image
      void setAData(byte[] value)
      Gets or sets an array of bytes that define the image.
      void setCachedImage(byte[] value)
      Gets or sets the cached raster image.
      void setColorsData(byte[] value)
      Gets or sets an optional array of either RGBQuad Objects (section 2.2.2.20) or 16-bit unsigned integers that define a color table.
      void setHeader(WmfBitmapBaseHeader value)
      Gets or sets either a BitmapCoreHeader Object (section 2.2.2.2) or a BitmapInfoHeader Object (section 2.2.2.3) that specifies information about the image
    • Constructor Detail

      • WmfDeviceIndependentBitmap

        public WmfDeviceIndependentBitmap()
    • Method Detail

      • getHeader

        public WmfBitmapBaseHeader getHeader()

        Gets or sets either a BitmapCoreHeader Object (section 2.2.2.2) or a BitmapInfoHeader Object (section 2.2.2.3) that specifies information about the image

      • setHeader

        public void setHeader(WmfBitmapBaseHeader value)

        Gets or sets either a BitmapCoreHeader Object (section 2.2.2.2) or a BitmapInfoHeader Object (section 2.2.2.3) that specifies information about the image

      • getColorsData

        public byte[] getColorsData()

        Gets or sets an optional array of either RGBQuad Objects (section 2.2.2.20) or 16-bit unsigned integers that define a color table. The size and contents of this field SHOULD be determined from the metafile record or object that contains this DeviceIndependentBitmap and from information in the DIBHeaderInfo field. See ColorUsage Enumeration (section 2.1.1.6) and BitCount Enumeration (section 2.1.1.3) for additional details

      • setColorsData

        public void setColorsData(byte[] value)

        Gets or sets an optional array of either RGBQuad Objects (section 2.2.2.20) or 16-bit unsigned integers that define a color table. The size and contents of this field SHOULD be determined from the metafile record or object that contains this DeviceIndependentBitmap and from information in the DIBHeaderInfo field. See ColorUsage Enumeration (section 2.1.1.6) and BitCount Enumeration (section 2.1.1.3) for additional details

      • getAData

        public byte[] getAData()

        Gets or sets an array of bytes that define the image. The size and format of this data is determined by information in the DIBHeaderInfo field.

      • setAData

        public void setAData(byte[] value)

        Gets or sets an array of bytes that define the image. The size and format of this data is determined by information in the DIBHeaderInfo field.

      • getCachedImage

        public byte[] getCachedImage()

        Gets or sets the cached raster image.

        Value: The cached image.
      • setCachedImage

        public void setCachedImage(byte[] value)

        Gets or sets the cached raster image.

        Value: The cached image.