public class WmfDeviceIndependentBitmap extends MetaObject
The DeviceIndependentBitmap Object defines an image in device-independent bitmap (DIB) format
Constructor and Description |
---|
WmfDeviceIndependentBitmap() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getAData()
Gets or sets an array of bytes that define the 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 |
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
|
deepClone_internalized
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
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
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
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
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. If it is a BitmapCoreHeader, the size in bytes MUST be calculated as follows: (((Width * Planes * BitCount + 31) & ~31) / 8) * abs(Height) This formula SHOULD also be used to calculate the size of aData when DIBHeaderInfo is a BitmapInfoHeader Object, using values from that object, but only if its Compression value is BI_RGB, BI_BITFIELDS, or BI_CMYK. Otherwise, the size of aData MUST be the BitmapInfoHeader Object value ImageSize
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. If it is a BitmapCoreHeader, the size in bytes MUST be calculated as follows: (((Width * Planes * BitCount + 31) & ~31) / 8) * abs(Height) This formula SHOULD also be used to calculate the size of aData when DIBHeaderInfo is a BitmapInfoHeader Object, using values from that object, but only if its Compression value is BI_RGB, BI_BITFIELDS, or BI_CMYK. Otherwise, the size of aData MUST be the BitmapInfoHeader Object value ImageSize
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.