Interface, used by specific writers that provides color handling.
More...
|
| string | GetAttributeName (Color color) |
| | Gets the attribute name for the given color instance.
|
| string | GetAttributeValue (Color color) |
| | Gets the attribute value for the given color instance.
|
| bool | UseTintAttribute (Color color) |
| | Gets whether a tint value is used for the given color instance.
|
| string | GetTintAttributeValue (Color color) |
| | Gets the tint value as string of the given color instance, if applicable (see UseTintAttribute(Color)).
|
| IEnumerable< XmlAttribute > | GetAttributes (Color color) |
| | Gets all applicable attributes of the given color instance.
|
Interface, used by specific writers that provides color handling.
Definition at line 17 of file IColorWriter.cs.
◆ GetAttributeName()
| string NanoXLSX.Interfaces.Writer.IColorWriter.GetAttributeName |
( |
Color | color | ) |
|
Gets the attribute name for the given color instance.
- Parameters
-
- Returns
- Attribute name
◆ GetAttributes()
| IEnumerable< XmlAttribute > NanoXLSX.Interfaces.Writer.IColorWriter.GetAttributes |
( |
Color | color | ) |
|
Gets all applicable attributes of the given color instance.
- Parameters
-
- Returns
- IEnumerable of the applicable XmlAttribute values of the color
◆ GetAttributeValue()
| string NanoXLSX.Interfaces.Writer.IColorWriter.GetAttributeValue |
( |
Color | color | ) |
|
Gets the attribute value for the given color instance.
- Parameters
-
- Returns
- Attribute value
◆ GetTintAttributeValue()
| string NanoXLSX.Interfaces.Writer.IColorWriter.GetTintAttributeValue |
( |
Color | color | ) |
|
Gets the tint value as string of the given color instance, if applicable (see UseTintAttribute(Color)).
- Parameters
-
- Returns
- Tint value (-1 to 1) as string
◆ UseTintAttribute()
| bool NanoXLSX.Interfaces.Writer.IColorWriter.UseTintAttribute |
( |
Color | color | ) |
|
Gets whether a tint value is used for the given color instance.
- Parameters
-
- Returns
- True if tint is used
The documentation for this interface was generated from the following file: