WmfBitmapBaseHeader

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

public abstract class WmfBitmapBaseHeader extends MetaObject

The base bitmap header class.

Constructors

ConstructorDescription
WmfBitmapBaseHeader()

Methods

MethodDescription
getHeaderSize()Gets or sets a 32-bit unsigned integer that defines the size of this object, in bytes.
setHeaderSize(int value)Gets or sets a 32-bit unsigned integer that defines the size of this object, in bytes.
getPlanes()Gets or sets a 16-bit unsigned integer that defines the number of planes for the target device.
setPlanes(short value)Gets or sets a 16-bit unsigned integer that defines the number of planes for the target device.
getBitCount()Gets or sets a 16-bit unsigned integer that defines the format of each pixel, and the maximum number of colors in the DIB.
setBitCount(short value)Gets or sets a 16-bit unsigned integer that defines the format of each pixel, and the maximum number of colors in the DIB.

WmfBitmapBaseHeader()

public WmfBitmapBaseHeader()

getHeaderSize()

public int getHeaderSize()

Gets or sets a 32-bit unsigned integer that defines the size of this object, in bytes.

Returns: int

setHeaderSize(int value)

public void setHeaderSize(int value)

Gets or sets a 32-bit unsigned integer that defines the size of this object, in bytes.

Parameters:

ParameterTypeDescription
valueinta 16-bit unsigned integer that defines the number of planes for the target device. This value MUST be 0x0001.

getPlanes()

public short getPlanes()

Gets or sets a 16-bit unsigned integer that defines the number of planes for the target device. This value MUST be 0x0001.

Returns: short - a 16-bit unsigned integer that defines the number of planes for the target device.

setPlanes(short value)

public void setPlanes(short value)

Gets or sets a 16-bit unsigned integer that defines the number of planes for the target device. This value MUST be 0x0001.

Parameters:

ParameterTypeDescription
valueshorta 16-bit unsigned integer that defines the number of planes for the target device. This value MUST be * 0x0001.

getBitCount()

public short getBitCount()

Gets or sets a 16-bit unsigned integer that defines the format of each pixel, and the maximum number of colors in the DIB. This value MUST be in the BitCount Enumeration (section 2.1.1.3).

Returns: short - a 16-bit unsigned integer that defines the format of each pixel, and the maximum number of colors in the DIB.

setBitCount(short value)

public void setBitCount(short value)

Gets or sets a 16-bit unsigned integer that defines the format of each pixel, and the maximum number of colors in the DIB. This value MUST be in the BitCount Enumeration (section 2.1.1.3).

Parameters:

ParameterTypeDescription
valueshorta 16-bit unsigned integer that defines the format of each pixel, and the maximum number of colors in the DIB.