Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools Namespace > RasterColor Structure : FromHtml Method |
public static RasterColor FromHtml( string value )
'Declaration
Public Shared Function FromHtml( _ ByVal value As String _ ) As RasterColor
'Usage
Dim value As String Dim value As RasterColor value = RasterColor.FromHtml(value)
public static RasterColor FromHtml( string value )
function Leadtools.RasterColor.FromHtml( value )
public: static RasterColor FromHtml( String^ value )
The input string value can be in one of the following formats:
Known HTML colors, such as "red", "green" or "blue". Case insensitive
#RRGGBB for example #FF0000 for red
rgba(r,g,b,a) for example rgba(255,0,0,1.0) for red
rgb(r,g,b) for example (255,0,0) for red