EmfSetBkColor Class

Summary: The EMR_SETBKCOLOR record specifies the background color.

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

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

Inheritance: EmfStateRecordType

Aspose.Imaging Version: 24.6.0

Constructors

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

Properties

NameTypeAccessDescription
argb_32_colorintr/wGets or sets a 32-bit WMF ColorRef object, specified in [MS-WMF] section 2.2.2.8, which
specifies the background color value.
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: EmfSetBkColor()

 EmfSetBkColor() 

Initializes a new instance of the EmfSetBkColor class.

Constructor: EmfSetBkColor(source)

 EmfSetBkColor(source) 

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