WmfDeviceIndependentBitmap

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject

public class WmfDeviceIndependentBitmap extends MetaObject

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

Constructors

ConstructorDescription
WmfDeviceIndependentBitmap()

Methods

MethodDescription
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(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()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.
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.
getAData()Gets or sets an array of bytes that define the image.
setAData(byte[] value)Gets or sets an array of bytes that define the image.
getCachedImage()Gets the cached raster image.
setCachedImage(byte[] value)Sets the cached raster image.

WmfDeviceIndependentBitmap()

public WmfDeviceIndependentBitmap()

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

Returns: WmfBitmapBaseHeader

setHeader(WmfBitmapBaseHeader value)

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

Parameters:

ParameterTypeDescription
valueWmfBitmapBaseHeader

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

Returns: byte[]

setColorsData(byte[] value)

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

Parameters:

ParameterTypeDescription
valuebyte[]

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.

Returns: byte[]

setAData(byte[] value)

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.

Parameters:

ParameterTypeDescription
valuebyte[]

getCachedImage()

public final byte[] getCachedImage()

Gets the cached raster image.

Value: The cached image.

Returns: byte[]

setCachedImage(byte[] value)

public void setCachedImage(byte[] value)

Sets the cached raster image.

Value: The cached image.

Parameters:

ParameterTypeDescription
valuebyte[]