Converts a X11 color name into a corresponding RGB value.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static bool LookupX11Color( string szColor, out byte nRed, out byte nGreen, out byte nBlue ) |
Visual Basic (Declaration) |
---|
Public Shared Function LookupX11Color ( _ szColor As String, _ <OutAttribute> ByRef nRed As Byte, _ <OutAttribute> ByRef nGreen As Byte, _ <OutAttribute> ByRef nBlue As Byte _ ) As Boolean |
Visual C++ |
---|
public: static bool LookupX11Color( String^ szColor, [OutAttribute] unsigned char% nRed, [OutAttribute] unsigned char% nGreen, [OutAttribute] unsigned char% nBlue ) |
Parameters
- szColor
- Type: System..::.String
Name of the color to convert.
- nRed
- Type:
System..::.Byte
%
Red component.
- nGreen
- Type:
System..::.Byte
%
Green component.
- nBlue
- Type:
System..::.Byte
%
Blue component.