EmfSetTextColor
Contents
[
Hide
]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
Constructor | Description |
---|---|
EmfSetTextColor(EmfRecord source) | Initializes a new instance of the EmfSetTextColor class. |
EmfSetTextColor() | Initializes a new instance of the EmfSetTextColor class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The 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:
Parameter | Type | Description |
---|---|---|
value | int |