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

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

Syntax

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

Parameters

value
Type: System.Drawing..::.Color
A Color structure.

Return Value

A new instance of RGBQUAD initialized to value.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also