Xceed Words for .NET v5.0 Documentation
Xceed.Drawing.NET Assembly / Xceed.Drawing Namespace / Color Structure / IsKnownColor Method
The string that will be evaluated.


In This Topic
    IsKnownColor Method
    In This Topic
    Will return true if the value string corresponds to one of the SKColors in .NET5+ or one of the System.Drawing.KnownColor in .NET Framework.
    Syntax
    'Declaration
     
    Public Shared Function IsKnownColor( _
       ByVal value As String _
    ) As Boolean
    'Usage
     
    Dim value As String
    Dim value As Boolean
     
    value = Color.IsKnownColor(value)
    public static bool IsKnownColor( 
       string value
    )

    Parameters

    value
    The string that will be evaluated.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also