EmfSetBkColor

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfStateRecordType

public final class EmfSetBkColor extends EmfStateRecordType

The EMR_SETBKCOLOR record specifies the background color.

Constructors

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

Methods

MethodDescription
getArgb32Color()Gets or sets a 32-bit WMF ColorRef object, specified in [MS-WMF] section 2.2.2.8, which specifies the background color value.
setArgb32Color(int value)Gets or sets a 32-bit WMF ColorRef object, specified in [MS-WMF] section 2.2.2.8, which specifies the background color value.

EmfSetBkColor(EmfRecord source)

public EmfSetBkColor(EmfRecord source)

Initializes a new instance of the EmfSetBkColor class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfSetBkColor()

public EmfSetBkColor()

Initializes a new instance of the EmfSetBkColor class.

getArgb32Color()

public int getArgb32Color()

Gets or sets a 32-bit WMF ColorRef object, specified in [MS-WMF] section 2.2.2.8, which specifies the background color value.

Returns: int

setArgb32Color(int value)

public void setArgb32Color(int value)

Gets or sets a 32-bit WMF ColorRef object, specified in [MS-WMF] section 2.2.2.8, which specifies the background color value.

Parameters:

ParameterTypeDescription
valueint