public abstract class WmfBitmapBaseHeader extends MetaObject
The base bitmap header class.
Constructor and Description |
---|
WmfBitmapBaseHeader() |
Modifier and Type | Method and Description |
---|---|
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.
|
int |
getHeaderSize()
Gets or sets a 32-bit unsigned integer that defines the size of this
object, in bytes.
|
short |
getPlanes()
Gets or sets a 16-bit unsigned integer that defines the number of
planes for the target device. |
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.
|
void |
setHeaderSize(int value)
Gets or sets a 32-bit unsigned integer that defines the size of this
object, in bytes.
|
void |
setPlanes(short value)
Gets or sets a 16-bit unsigned integer that defines the number of
planes for the target device. |
public int getHeaderSize()
Gets or sets a 32-bit unsigned integer that defines the size of this object, in bytes.
public void setHeaderSize(int value)
Gets or sets a 32-bit unsigned integer that defines the size of this object, in bytes.
value
- a 16-bit unsigned integer that defines the number of
planes
for the target device. This value MUST be
0x0001.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.
planes
for the target device.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.
value
- a 16-bit unsigned integer that defines the number of
planes
for the target device. This value MUST be
* 0x0001.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).
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).
value
- a 16-bit unsigned integer that defines the format of
each pixel, and the maximum number of colors in the DIB.