WmfPlaceableFileHeader

Inheritance: java.lang.Object

public final class WmfPlaceableFileHeader

Defines a placeable metafile. Not inheritable.

Constructors

ConstructorDescription
WmfPlaceableFileHeader()

Methods

MethodDescription
getKey()Gets a value indicating the presence of a placeable metafile header.
setKey(int value)Sets a value indicating the presence of a placeable metafile header.
getHmf()Gets the handle of the metafile in memory.
setHmf(short value)Sets the handle of the metafile in memory.
getBboxLeft()Gets the x-coordinate of the upper-left corner of the bounding rectangle of the metafile image on the output device.
setBboxLeft(short value)Sets the x-coordinate of the upper-left corner of the bounding rectangle of the metafile image on the output device.
getBboxTop()Gets the y-coordinate of the upper-left corner of the bounding rectangle of the metafile image on the output device.
setBboxTop(short value)Sets the y-coordinate of the upper-left corner of the bounding rectangle of the metafile image on the output device.
getBboxRight()Gets the x-coordinate of the lower-right corner of the bounding rectangle of the metafile image on the output device.
setBboxRight(short value)Sets the x-coordinate of the lower-right corner of the bounding rectangle of the metafile image on the output device.
getBboxBottom()Gets the y-coordinate of the lower-right corner of the bounding rectangle of the metafile image on the output device.
setBboxBottom(short value)Sets the y-coordinate of the lower-right corner of the bounding rectangle of the metafile image on the output device.
getInch()Gets the number of twips per inch.
setInch(short value)Sets the number of twips per inch.
getReserved()Reserved.
setReserved(int value)Reserved.
getChecksum()Gets the checksum value for the previous ten WORD s in the header.
setChecksum(short value)Sets the checksum value for the previous ten WORD s in the header.

WmfPlaceableFileHeader()

public WmfPlaceableFileHeader()

getKey()

public int getKey()

Gets a value indicating the presence of a placeable metafile header.

Returns: int - A value indicating presence of a placeable metafile header.

setKey(int value)

public void setKey(int value)

Sets a value indicating the presence of a placeable metafile header.

Parameters:

ParameterTypeDescription
valueinta value indicating the presence of a placeable metafile header.

getHmf()

public short getHmf()

Gets the handle of the metafile in memory.

Returns: short - The handle of the metafile in memory.

setHmf(short value)

public void setHmf(short value)

Sets the handle of the metafile in memory.

Parameters:

ParameterTypeDescription
valueshortthe handle of the metafile in memory.

getBboxLeft()

public short getBboxLeft()

Gets the x-coordinate of the upper-left corner of the bounding rectangle of the metafile image on the output device.

Returns: short - The x-coordinate of the upper-left corner of the bounding rectangle of the metafile image on the output device.

setBboxLeft(short value)

public void setBboxLeft(short value)

Sets the x-coordinate of the upper-left corner of the bounding rectangle of the metafile image on the output device.

Parameters:

ParameterTypeDescription
valueshortthe x-coordinate of the upper-left corner of the bounding rectangle of the metafile image on the output device.

getBboxTop()

public short getBboxTop()

Gets the y-coordinate of the upper-left corner of the bounding rectangle of the metafile image on the output device.

Returns: short - The y-coordinate of the upper-left corner of the bounding rectangle of the metafile image on the output device.

setBboxTop(short value)

public void setBboxTop(short value)

Sets the y-coordinate of the upper-left corner of the bounding rectangle of the metafile image on the output device.

Parameters:

ParameterTypeDescription
valueshortthe y-coordinate of the upper-left corner of the bounding rectangle of the metafile image on the output device.

getBboxRight()

public short getBboxRight()

Gets the x-coordinate of the lower-right corner of the bounding rectangle of the metafile image on the output device.

Returns: short - The x-coordinate of the lower-right corner of the bounding rectangle of the metafile image on the output device.

setBboxRight(short value)

public void setBboxRight(short value)

Sets the x-coordinate of the lower-right corner of the bounding rectangle of the metafile image on the output device.

Parameters:

ParameterTypeDescription
valueshortthe x-coordinate of the lower-right corner of the bounding rectangle of the metafile image on the output device.

getBboxBottom()

public short getBboxBottom()

Gets the y-coordinate of the lower-right corner of the bounding rectangle of the metafile image on the output device.

Returns: short - The y-coordinate of the lower-right corner of the bounding rectangle of the metafile image on the output device .

setBboxBottom(short value)

public void setBboxBottom(short value)

Sets the y-coordinate of the lower-right corner of the bounding rectangle of the metafile image on the output device.

Parameters:

ParameterTypeDescription
valueshortthe y-coordinate of the lower-right corner of the bounding rectangle of the metafile image on the output device.

getInch()

public short getInch()

Gets the number of twips per inch.

Returns: short - The number of twips per inch.

setInch(short value)

public void setInch(short value)

Sets the number of twips per inch.

Parameters:

ParameterTypeDescription
valueshortthe number of twips per inch.

getReserved()

public int getReserved()

Reserved. Do not use.

Returns: int - Reserved. Do not use .

setReserved(int value)

public void setReserved(int value)

Reserved. Do not use.

Parameters:

ParameterTypeDescription
valueint

getChecksum()

public short getChecksum()

Gets the checksum value for the previous ten WORD s in the header.

Returns: short - The checksum value for the previous ten WORD s in the header.

setChecksum(short value)

public void setChecksum(short value)

Sets the checksum value for the previous ten WORD s in the header.

Parameters:

ParameterTypeDescription
valueshortthe checksum value for the previous ten WORD s in the header.