EmfScaleViewportExtex Class

Summary: The EMR_SCALEVIEWPORTEXTEX record respecifies the viewport for a device context by using the
ratios formed by the specified multiplicands and divisors.

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

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

Inheritance: EmfStateRecordType

Constructors

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

Properties

NameTypeAccessDescription
sizeintr/wGets or sets the size of the record
typeEmfRecordTyper/wGets or sets the type.
x_denomintr/wGets or sets a 32-bit signed integer that specifies the horizontal divisor. Cannot be zero.
x_numintr/wGets or sets a 32-bit signed integer that specifies the horizontal multiplicand. Cannot be zero.
y_denomintr/wGets or sets a 32-bit signed integer that specifies the vertical divisor. Cannot be zero.
y_numintr/wGets or sets a 32-bit signed integer that specifies the vertical multiplicand. Cannot be zero.

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: EmfScaleViewportExtex()

 EmfScaleViewportExtex() 

Initializes a new instance of the EmfScaleViewportExtex class.

Constructor: EmfScaleViewportExtex(source)

 EmfScaleViewportExtex(source) 

Initializes a new instance of the EmfScaleViewportExtex 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