LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

ConvertFromString(String) Method






A System.String containing the text value. This must be an HTML compatible string representation of a color.
Converts the specified text to a RasterColor object. .NET support Silverlight support
Syntax
public new static RasterColor ConvertFromString( 
   string value
)
'Declaration
 
Public Overloads Shared Shadows Function ConvertFromString( _
   ByVal value As String _
) As RasterColor
'Usage
 
Dim value As String
Dim value As RasterColor
 
value = RasterColorTypeConverter.ConvertFromString(value)
public new static RasterColor ConvertFromString( 
   string value
)
 hide function Leadtools.RasterColorTypeConverter.ConvertFromString(String)( 
   value 
)
public:
new static RasterColor ConvertFromString( 
   String^ value
) 

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
For an example, refer to RasterColorTypeConverter.
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

Reference

RasterColorTypeConverter Class
RasterColorTypeConverter Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.