EmfPlusSetPageTransform
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusRecord, com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusTerminalServerRecordType
public final class EmfPlusSetPageTransform extends EmfPlusTerminalServerRecordType
The EmfPlusSetPageTransform record specifies scaling factors and units for converting page space coordinates to device space coordinates.
Constructors
Constructor | Description |
---|---|
EmfPlusSetPageTransform(EmfPlusRecord source) | Initializes a new instance of the EmfPlusSetPageTransform class. |
Methods
Method | Description |
---|---|
getPageUnit() | Gets the unit of measure for page space coordinates, from the UnitType enumeration (section 2.1.1.33). |
getPageScale() | Gets or sets a 32-bit floating-point value that specifies the scale factor for converting page space coordinates to device space coordinates. |
setPageScale(float value) | Gets or sets a 32-bit floating-point value that specifies the scale factor for converting page space coordinates to device space coordinates. |
EmfPlusSetPageTransform(EmfPlusRecord source)
public EmfPlusSetPageTransform(EmfPlusRecord source)
Initializes a new instance of the EmfPlusSetPageTransform
class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfPlusRecord | The source. |
getPageUnit()
public int getPageUnit()
Gets the unit of measure for page space coordinates, from the UnitType enumeration (section 2.1.1.33). This value SHOULD NOT be UnitTypeDisplay or UnitTypeWorld.
Value: The page unit.
Returns: int
getPageScale()
public float getPageScale()
Gets or sets a 32-bit floating-point value that specifies the scale factor for converting page space coordinates to device space coordinates.
Value: The page scale.
Returns: float
setPageScale(float value)
public void setPageScale(float value)
Gets or sets a 32-bit floating-point value that specifies the scale factor for converting page space coordinates to device space coordinates.
Value: The page scale.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |