WmfBitmapCoreHeader

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

public class WmfBitmapCoreHeader extends WmfBitmapBaseHeader

The BitmapCoreHeader Object contains information about the dimensions and color format of a device-independent bitmap(DIB).

Constructors

ConstructorDescription
WmfBitmapCoreHeader()

Methods

MethodDescription
getWidth()Gets or sets a 16-bit unsigned integer that defines the width of the DIB, in pixels
setWidth(short value)Gets or sets a 16-bit unsigned integer that defines the width of the DIB, in pixels
getHeight()Gets or sets a 16-bit unsigned integer that defines the height of the DIB, in pixels
setHeight(short value)Gets or sets a 16-bit unsigned integer that defines the height of the DIB, in pixels

WmfBitmapCoreHeader()

public WmfBitmapCoreHeader()

getWidth()

public short getWidth()

Gets or sets a 16-bit unsigned integer that defines the width of the DIB, in pixels

Returns: short

setWidth(short value)

public void setWidth(short value)

Gets or sets a 16-bit unsigned integer that defines the width of the DIB, in pixels

Parameters:

ParameterTypeDescription
valueshort

getHeight()

public short getHeight()

Gets or sets a 16-bit unsigned integer that defines the height of the DIB, in pixels

Returns: short

setHeight(short value)

public void setHeight(short value)

Gets or sets a 16-bit unsigned integer that defines the height of the DIB, in pixels

Parameters:

ParameterTypeDescription
valueshort