EmfSetBkMode

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 EmfSetBkMode extends EmfStateRecordType

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.

Constructors

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

Methods

MethodDescription
getBackgroundMode()Gets or sets a 32-bit unsigned integer that specifies the background mode and MUST be in the BackgroundMode (section 2.1.4) enumeration.
setBackgroundMode(int value)Gets or sets a 32-bit unsigned integer that specifies the background mode and MUST be in the BackgroundMode (section 2.1.4) enumeration.

EmfSetBkMode(EmfRecord source)

public EmfSetBkMode(EmfRecord source)

Initializes a new instance of the EmfSetBkMode class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfSetBkMode()

public EmfSetBkMode()

Initializes a new instance of the EmfSetBkMode class.

getBackgroundMode()

public int getBackgroundMode()

Gets or sets a 32-bit unsigned integer that specifies the background mode and MUST be in the BackgroundMode (section 2.1.4) enumeration.

Returns: int

setBackgroundMode(int value)

public void setBackgroundMode(int value)

Gets or sets a 32-bit unsigned integer that specifies the background mode and MUST be in the BackgroundMode (section 2.1.4) enumeration.

Parameters:

ParameterTypeDescription
valueint