EmfSetViewportExtEx
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 EmfSetViewportExtEx extends EmfStateRecordType
The EMR_SETVIEWPORTEXTEX record defines the viewport extent.
Constructors
Constructor | Description |
---|---|
EmfSetViewportExtEx(EmfRecord source) | Initializes a new instance of the EmfSetViewportExtEx class. |
EmfSetViewportExtEx() | Initializes a new instance of the EmfSetViewportExtEx class. |
Methods
Method | Description |
---|---|
getExtent() | Gets or sets a 64-bit WMF SizeL object ([MS-WMF] section 2.2.2.22) that specifies the horizontal and vertical extents in device units. |
setExtent(Size value) | Gets or sets a 64-bit WMF SizeL object ([MS-WMF] section 2.2.2.22) that specifies the horizontal and vertical extents in device units. |
EmfSetViewportExtEx(EmfRecord source)
public EmfSetViewportExtEx(EmfRecord source)
Initializes a new instance of the EmfSetViewportExtEx
class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
EmfSetViewportExtEx()
public EmfSetViewportExtEx()
Initializes a new instance of the EmfSetViewportExtEx
class.
getExtent()
public Size getExtent()
Gets or sets a 64-bit WMF SizeL object ([MS-WMF] section 2.2.2.22) that specifies the horizontal and vertical extents in device units.
Returns: Size
setExtent(Size value)
public void setExtent(Size value)
Gets or sets a 64-bit WMF SizeL object ([MS-WMF] section 2.2.2.22) that specifies the horizontal and vertical extents in device units.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Size |