EmfSetViewportOrgEx
Contents
[
Hide
]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 EmfSetViewportOrgEx extends EmfStateRecordType
The EMR_SETVIEWPORTORGEX record defines the viewport origin.
Constructors
| Constructor | Description |
|---|---|
| EmfSetViewportOrgEx(EmfRecord source) | Initializes a new instance of the EmfSetViewportOrgEx class. |
| EmfSetViewportOrgEx() | Initializes a new instance of the EmfSetViewportOrgEx class. |
Methods
| Method | Description |
|---|---|
| getOrigin() | Gets or sets a 64-bit WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the window horizontal and vertical origin in device units. |
| setOrigin(Point value) | Gets or sets a 64-bit WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the window horizontal and vertical origin in device units. |
EmfSetViewportOrgEx(EmfRecord source)
public EmfSetViewportOrgEx(EmfRecord source)
Initializes a new instance of the EmfSetViewportOrgEx class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| source | EmfRecord | The source. |
EmfSetViewportOrgEx()
public EmfSetViewportOrgEx()
Initializes a new instance of the EmfSetViewportOrgEx class.
getOrigin()
public Point getOrigin()
Gets or sets a 64-bit WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the window horizontal and vertical origin in device units.
Returns: Point
setOrigin(Point value)
public void setOrigin(Point value)
Gets or sets a 64-bit WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the window horizontal and vertical origin in device units.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Point |