GetColorByDrawingColor Method
Gets the color from open xml drawing color object.
public static Color GetColorByDrawingColor(
object ,
CT_OfficeStyleSheet
)
'Declaration
Public Shared Function GetColorByDrawingColor( _
ByVal As Object, _
ByVal As CT_OfficeStyleSheet _
) As Color
'Usage
Dim drawingColor As Object
Dim themes As CT_OfficeStyleSheet
Dim value As Color
value = ExcelXMLHelpers.GetColorByDrawingColor(drawingColor, themes)
Parameters
- drawingColor
- The underlying drawing color object.
- themes
- The themes.
Return Value
Returns the color.