EmfSetBkMode Class

Summary: The EMR_SETBKMODE record specifies the background mix mode of the playback device context.
The background mix mode is used with text, hatched brushes, and pen styles that are not solid lines.

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

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

Inheritance: EmfStateRecordType

Aspose.Imaging Version: 24.6.0

Constructors

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

Properties

NameTypeAccessDescription
background_modeEmfBackgroundModer/wGets or sets a 32-bit unsigned integer that specifies the background mode
and MUST be in the BackgroundMode (section 2.1.4) 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: EmfSetBkMode()

 EmfSetBkMode() 

Initializes a new instance of the EmfSetBkMode class.

Constructor: EmfSetBkMode(source)

 EmfSetBkMode(source) 

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