EmfSetViewportOrgEx

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

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

Methods

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

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

ParameterTypeDescription
valuePoint