EmfSelectObject Class

Summary: The EMR_SELECTOBJECT record adds a graphics object to the current metafile playback device
context. The object is specified either by its index in the EMF Object Table(section 3.1.1.1) or by its
value from the StockObject enumeration(section 2.1.31).

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

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

Inheritance: EmfRecord

Constructors

NameDescription
EmfSelectObject()Initializes a new instance of the EmfSelectObject class.
EmfSelectObject(record)Initializes a new instance of the EmfSelectObject class.

Properties

NameTypeAccessDescription
object_handleintr/wGets or sets 32-bit unsigned integer that specifies either the index of a graphics object
in the EMF Object Table or the index of a stock object from the EmfStockObject enumeration.
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: EmfSelectObject()

 EmfSelectObject() 

Initializes a new instance of the EmfSelectObject class.

Constructor: EmfSelectObject(record)

 EmfSelectObject(record) 

Initializes a new instance of the EmfSelectObject class.

Parameters:

ParameterTypeDescription
recordEmfRecordThe record.

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