Class WmfDeviceIndependentBitmap

Class WmfDeviceIndependentBitmap

Namespace: Aspose.Imaging.FileFormats.Wmf.Objects
Assembly: Aspose.Imaging.dll (25.7.0)

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

public class WmfDeviceIndependentBitmap : MetaObject
   {
       private Metafile metaFile;
       public WmfDeviceIndependentBitmap(Metafile metafile)
       {
           this.metaFile = metafile;
       }
       public void SetPaletteEntries(int startIndex, int[] rgbColors)
       {
       }
   }

Inheritance

object MetaObject WmfDeviceIndependentBitmap

Inherited Members

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

WmfDeviceIndependentBitmap()

public WmfDeviceIndependentBitmap()
   {
   }

Properties

AData

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

public byte[] AData
   {
      get;
      set;
   }

Property Value

byte []

CachedImage

Gets or sets the cached raster image.

public byte[] CachedImage
   {
      get;
      set;
   }

Property Value

byte []

ColorsData

Gets or sets an optional array of either RGBQuad Objects (section2.2.2.20) or 16-bit unsigned integers that define a color table. Thesize and contents of this field SHOULD be determined from themetafile record or object that contains this DeviceIndependentBitmapand from information in the DIBHeaderInfo field. See ColorUsageEnumeration (section 2.1.1.6) and BitCount Enumeration (section2.1.1.3) for additional details

public byte[] ColorsData
{
    get;
    set;
}

Property Value

byte []

Header

Gets or sets either a BitmapCoreHeader Object (section 2.2.2.2) or aBitmapInfoHeader Object (section 2.2.2.3) that specifies informationabout the image

public WmfBitmapBaseHeader Header
   {
      get;
      set;
   }

Property Value

WmfBitmapBaseHeader

 English