EmfSetViewportExtEx

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

ConstructorDescription
EmfSetViewportExtEx(EmfRecord source)Initializes a new instance of the EmfSetViewportExtEx class.
EmfSetViewportExtEx()Initializes a new instance of the EmfSetViewportExtEx class.

Methods

MethodDescription
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:

ParameterTypeDescription
sourceEmfRecordThe 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:

ParameterTypeDescription
valueSize