Converts the value of a RGBQUAD structure to a Color structure.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static implicit operator Color (
	RGBQUAD value
)
Visual Basic (Declaration)
Public Shared Widening Operator CType ( _
	value As RGBQUAD _
) As Color
Visual C++
static implicit operator Color (
	RGBQUAD value
)

Parameters

value
Type: FreeImageAPI..::.RGBQUAD
A RGBQUAD structure.

Return Value

A new instance of Color initialized to value.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also