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
Constructor | Description |
---|---|
EmfScaleWindowExtex(EmfRecord source) | Initializes a new instance of the EmfScaleWindowExtex class. |
EmfScaleWindowExtex() | Initializes a new instance of the EmfScaleWindowExtex class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The 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:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | int |