GetDominantColor returns the dominant (most used) color in the image.

"color" will contain the dominant color, and the returned result will contain the percentage of the dominant color.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public double GetDominantColor(
	ref IERGB color
)
Public Function GetDominantColor ( _
	ByRef color As IERGB _
) As Double
public:
double GetDominantColor(
	IERGB% color
)

Parameters

color
IERGB%
the dominant color

Return Value

the percentage of the dominant color

See Also