 | StyleReaderGetColor Method |
Resolves a color value from an XML node, when a rgb attribute exists. If the value is null, the fallback will be returned
Namespace: NanoXLSX.LowLevelAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+b0ed5f8a99a50b9e6528224889fbd7f23c30b364
Syntaxprivate static string GetColor(
XmlNode node,
string fallback
)
Parameters
- node XmlNode
- Node to check
- fallback String
- Fallback value if the color could not be resolved
Return Value
StringRGB value as string or the fallback
See Also