EmfSetTextColor

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

The EMR_SETTEXTCOLOR record defines the current text color.

Constructors

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

Methods

MethodDescription
getArgb32Color()Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the text color value.
setArgb32Color(int value)Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the text color value.

EmfSetTextColor(EmfRecord source)

public EmfSetTextColor(EmfRecord source)

Initializes a new instance of the EmfSetTextColor class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfSetTextColor()

public EmfSetTextColor()

Initializes a new instance of the EmfSetTextColor class.

getArgb32Color()

public int getArgb32Color()

Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the text color value.

Returns: int

setArgb32Color(int value)

public void setArgb32Color(int value)

Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the text color value.

Parameters:

ParameterTypeDescription
valueint