Share via


GridColor.FromString method

Creates a color from the specified string.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)

Syntax

'Declaration
Public Shared Function FromString ( _
    colorString As String _
) As GridColor
'Usage
Dim colorString As String
Dim returnValue As GridColor

returnValue = GridColor.FromString(colorString)
public static GridColor FromString(
    string colorString
)

Parameters

  • colorString
    Type: System.String

    A string that represents the name of a known color or that uses the format #rrggbb.

Return value

Type: Microsoft.PerformancePoint.Scorecards.GridColor
The color specified by the string.

See also

Reference

GridColor class

GridColor members

Microsoft.PerformancePoint.Scorecards namespace