FreeImageBitmap.LookupSVGColor Method

FreeImage.NET

FreeImageBitmapLookupSVGColor Method
Converts a SVG color name into a corresponding RGB value.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static bool LookupSVGColor(
	string color,
	out byte red,
	out byte green,
	out byte blue
)

Parameters

color
Type: SystemString
Name of the color to convert.
red
Type: SystemByte
Red component.
green
Type: SystemByte
Green component.
blue
Type: SystemByte
Blue component.

Return Value

Type: Boolean
Returns true on success, false on failure.
Exceptions
ExceptionCondition
ArgumentNullExceptioncolor is null.
See Also