Converts the specified text to a
RasterColor object.
Supported in Silverlight, Windows Phone 7
Syntax
Visual Basic (Declaration) | |
---|
Overloads Public Shared Shadows Function ConvertFromString( _
ByVal value As String _
) As RasterColor |
Parameters
- value
- A System.String containing the text value. This must be an HTML compatible string representation of a color.
Return Value
The
RasterColor this method creates. If the string is null (Nothing in Visual Basic), then an empty
RasterColor will be returned with all color components set to zero.
Example
Requirements
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7
See Also