EmfSetRop2 Class

Summary: The EMR_SETROP2 record defines a binary raster operation mode.

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

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

Inheritance: EmfStateRecordType

Constructors

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

Properties

NameTypeAccessDescription
rop_2_modeWmfBinaryRasterOperationr/wGets or sets a 32-bit unsigned integer that specifies the raster operation mode and
MUST be in the WMF Binary Raster Op enumeration ([MS-WMF] section 2.1.1.2).
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: EmfSetRop2()

 EmfSetRop2() 

Initializes a new instance of the EmfSetRop2 class.

Constructor: EmfSetRop2(source)

 EmfSetRop2(source) 

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