WmfBitmap16

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

public class WmfBitmap16 extends MetaObject

The Bitmap16 Object specifies information about the dimensions and color format of a bitmap.

Constructors

ConstructorDescription
WmfBitmap16()

Methods

MethodDescription
getType()Gets or sets the type.
setType(short value)Gets or sets the type.
getWidth()Gets or sets the width.
setWidth(short value)Gets or sets the width.
getHeight()Gets or sets the height.
setHeight(short value)Gets or sets the height.
getWidthBytes()Gets or sets the width bytes.
setWidthBytes(short value)Gets or sets the width bytes.
getPlanes()Gets or sets the planes.
setPlanes(byte value)Gets or sets the planes.
getBitsPixel()Gets or sets the bits pixel.
setBitsPixel(byte value)Gets or sets the bits pixel.
getBits()Gets or sets the bits.
setBits(byte[] value)Gets or sets the bits.

WmfBitmap16()

public WmfBitmap16()

getType()

public short getType()

Gets or sets the type.

Value: The bitmap type.

Returns: short

setType(short value)

public void setType(short value)

Gets or sets the type.

Value: The bitmap type.

Parameters:

ParameterTypeDescription
valueshort

getWidth()

public short getWidth()

Gets or sets the width.

Value: The width of the bitmap in pixels

Returns: short

setWidth(short value)

public void setWidth(short value)

Gets or sets the width.

Value: The width of the bitmap in pixels

Parameters:

ParameterTypeDescription
valueshort

getHeight()

public short getHeight()

Gets or sets the height.

Value: The height of the bitmap in scan lines.

Returns: short

setHeight(short value)

public void setHeight(short value)

Gets or sets the height.

Value: The height of the bitmap in scan lines.

Parameters:

ParameterTypeDescription
valueshort

getWidthBytes()

public short getWidthBytes()

Gets or sets the width bytes.

Value: The number of bytes per scan line.

Returns: short

setWidthBytes(short value)

public void setWidthBytes(short value)

Gets or sets the width bytes.

Value: The number of bytes per scan line.

Parameters:

ParameterTypeDescription
valueshort

getPlanes()

public byte getPlanes()

Gets or sets the planes.

Value: The value of this field MUST be 0x01.

Returns: byte

setPlanes(byte value)

public void setPlanes(byte value)

Gets or sets the planes.

Value: The value of this field MUST be 0x01.

Parameters:

ParameterTypeDescription
valuebyte

getBitsPixel()

public byte getBitsPixel()

Gets or sets the bits pixel.

Value: The number of adjacent color bits on each plane.

Returns: byte

setBitsPixel(byte value)

public void setBitsPixel(byte value)

Gets or sets the bits pixel.

Value: The number of adjacent color bits on each plane.

Parameters:

ParameterTypeDescription
valuebyte

getBits()

public byte[] getBits()

Gets or sets the bits.

Value: The bitmap pixel data. The length of this field in bytes can be computed as follows.

Returns: byte[]

setBits(byte[] value)

public void setBits(byte[] value)

Gets or sets the bits.

Value: The bitmap pixel data. The length of this field in bytes can be computed as follows.

Parameters:

ParameterTypeDescription
valuebyte[]