VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.Primitives Namespace / VintasoftColor Structure / TryParseHtmlColor(String,VintasoftColor) Method
Syntax Requirements SeeAlso
In This Topic
TryParseHtmlColor(String,VintasoftColor) Method (VintasoftColor)
In This Topic
Tries to convert a HTML color representation to VintasoftColor.
Syntax
'Declaration

Public Shared Function TryParseHtmlColor( _
ByVal htmlColor
The string representation of the HTML color.
As String, _
ByRef color
The converted color.
As VintasoftColor _
) As Boolean
public static bool TryParseHtmlColor(
string htmlColor,
out VintasoftColor color
)

Parameters

htmlColor
The string representation of the HTML color.
color
The converted color.

Return Value

True if HTML color representation was converted successfully; otherwise, false.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also