EmfScaleViewportExtex
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 EmfScaleViewportExtex extends EmfStateRecordType
The EMR_SCALEVIEWPORTEXTEX record respecifies the viewport for a 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 viewport extents are modified as follows. xNewWE = (xOldWE * xNum) / xDenom yNewWE = (yOldWE * yNum) / yDenom
Constructors
Constructor | Description |
---|---|
EmfScaleViewportExtex(EmfRecord source) | Initializes a new instance of the EmfScaleViewportExtex class. |
EmfScaleViewportExtex() | Initializes a new instance of the EmfScaleViewportExtex 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. |
EmfScaleViewportExtex(EmfRecord source)
public EmfScaleViewportExtex(EmfRecord source)
Initializes a new instance of the EmfScaleViewportExtex
class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
EmfScaleViewportExtex()
public EmfScaleViewportExtex()
Initializes a new instance of the EmfScaleViewportExtex class.
getXNum()
public int getXNum()
Gets or sets a 32-bit signed integer that specifies the horizontal multiplicand. Cannot 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. Cannot 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. Cannot 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. Cannot 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. Cannot 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. Cannot 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. Cannot 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. Cannot be zero.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |