Platform Core .NET Assemblies API
StringToColor Method
See Also  Send Feedback
Terrasoft.Common Namespace > ColorUtilities Class : StringToColor Method
hexNumberString
The string of the hexadecimal representation of the color in aRGB model.

Glossary Item Box

Gets the color specified by a string of hexadecimal representation in the aRGB model.

Syntax

 
C#
 
 

Parameters

hexNumberString
The string of the hexadecimal representation of the color in aRGB model.

Return Value

The instance of the System.Drawing.Color class represented with a hexNumberString string.

Exceptions

ExceptionDescription
ArgumentNullOrEmptyExceptionIf an empty string or null is received as the hexNumberString value.

Requirements

Target Platforms: Windows 7, 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

© Terrasoft 2002-2018.