FreeImage.LookupSVGColor Method

FreeImage.NET

FreeImageLookupSVGColor 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 szColor,
	out byte nRed,
	out byte nGreen,
	out byte nBlue
)

Parameters

szColor
Type: SystemString
Name of the color to convert.
nRed
Type: SystemByte
Red component.
nGreen
Type: SystemByte
Green component.
nBlue
Type: SystemByte
Blue component.

Return Value

Type: Boolean
Returns true on success, false on failure.
See Also