←Select platform

ConvertFromString Method

Summary
Converts the specified text to a RasterColor object.
Syntax
C#
VB
C++
public static RasterColor ConvertFromString( 
   string value 
) 
Public Overloads Shared Function ConvertFromString( _ 
   ByVal value As String _ 
) As RasterColor 
public: 
static RasterColor ConvertFromString(  
   String^ value 
)  

Parameters

value
A 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, then an empty RasterColor will be returned with all color components set to zero.

Example

For an example, refer to RasterColorTypeConverter.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.