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

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

Syntax

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

Parameters

value
Type: FreeImageAPI..::.RGBTRIPLE
A RGBTRIPLE 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