Leadtools.ImageProcessing.Color Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ColorCount Property
See Also 



(Read only) Gets the number of unique colors in an image.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property ColorCount As Integer
Visual Basic (Usage)Copy Code
Dim instance As ColorCountCommand
Dim value As Integer
 
value = instance.ColorCount
C# 
public int ColorCount {get;}
C++/CLI 
public:
property int ColorCount {
   int get();
}

Return Value

The number of unique colors in an image.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also