EmfScaleWindowExtex

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

public final class EmfScaleWindowExtex extends EmfStateRecordType

The EMR_SCALEWINDOWEXTEX record respecifies the window for a playback device context by using the ratios formed by the specified multiplicands and divisors.

The extent cannot be changed if the device context is using a fixed scale mapping mode. Only MM_ISOTROPIC and MM_ANISOTROPIC are not fixed scale. The window extents are modified as follows. xNewWE = (xOldWE * xNum) / xDenom yNewWE = (yOldWE * yNum) / yDenom

Constructors

ConstructorDescription
EmfScaleWindowExtex(EmfRecord source)Initializes a new instance of the EmfScaleWindowExtex class.
EmfScaleWindowExtex()Initializes a new instance of the EmfScaleWindowExtex class.

Methods

MethodDescription
getXNum()Gets or sets a 32-bit signed integer that specifies the horizontal multiplicand.
setXNum(int value)Gets or sets a 32-bit signed integer that specifies the horizontal multiplicand.
getXDenom()Gets or sets a 32-bit signed integer that specifies the horizontal divisor.
setXDenom(int value)Gets or sets a 32-bit signed integer that specifies the horizontal divisor.
getYNum()Gets or sets a 32-bit signed integer that specifies the vertical multiplicand.
setYNum(int value)Gets or sets a 32-bit signed integer that specifies the vertical multiplicand.
getYDenom()Gets or sets a 32-bit signed integer that specifies the vertical divisor.
setYDenom(int value)Gets or sets a 32-bit signed integer that specifies the vertical divisor.

EmfScaleWindowExtex(EmfRecord source)

public EmfScaleWindowExtex(EmfRecord source)

Initializes a new instance of the EmfScaleWindowExtex class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfScaleWindowExtex()

public EmfScaleWindowExtex()

Initializes a new instance of the EmfScaleWindowExtex class.

getXNum()

public int getXNum()

Gets or sets a 32-bit signed integer that specifies the horizontal multiplicand. MUST NOT be zero.

Returns: int

setXNum(int value)

public void setXNum(int value)

Gets or sets a 32-bit signed integer that specifies the horizontal multiplicand. MUST NOT be zero.

Parameters:

ParameterTypeDescription
valueint

getXDenom()

public int getXDenom()

Gets or sets a 32-bit signed integer that specifies the horizontal divisor. MUST NOT be zero.

Returns: int

setXDenom(int value)

public void setXDenom(int value)

Gets or sets a 32-bit signed integer that specifies the horizontal divisor. MUST NOT be zero.

Parameters:

ParameterTypeDescription
valueint

getYNum()

public int getYNum()

Gets or sets a 32-bit signed integer that specifies the vertical multiplicand. MUST NOT be zero.

Returns: int

setYNum(int value)

public void setYNum(int value)

Gets or sets a 32-bit signed integer that specifies the vertical multiplicand. MUST NOT be zero.

Parameters:

ParameterTypeDescription
valueint

getYDenom()

public int getYDenom()

Gets or sets a 32-bit signed integer that specifies the vertical divisor. MUST NOT be zero.

Returns: int

setYDenom(int value)

public void setYDenom(int value)

Gets or sets a 32-bit signed integer that specifies the vertical divisor. MUST NOT be zero.

Parameters:

ParameterTypeDescription
valueint