EmfSetViewportOrgEx Class

Summary: The EMR_SETVIEWPORTORGEX record defines the viewport origin.

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfSetViewportOrgEx

Inheritance: EmfStateRecordType

Constructors

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

Properties

NameTypeAccessDescription
originPointr/wGets 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.
sizeintr/wGets or sets the size of the record
typeEmfRecordTyper/wGets or sets the type.

Methods

NameDescription
create_from_record(source)Initializes a new instance of the EmfRecord class.
create_from_type(type)Initializes a new instance of the EmfRecord class.

Constructor: EmfSetViewportOrgEx()

 EmfSetViewportOrgEx() 

Initializes a new instance of the EmfSetViewportOrgEx class.

Constructor: EmfSetViewportOrgEx(source)

 EmfSetViewportOrgEx(source) 

Initializes a new instance of the EmfSetViewportOrgEx class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Method: create_from_record(source) [static]

 create_from_record(source) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
typeEmfRecordTypeThe record type.

Returns

TypeDescription
EmfRecord