LEADTOOLS Image Processing (Leadtools.ImageProcessing.Color assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ColorCount Property
See Also 



(Read only) Gets the number of unique colors in an image. Supported in Silverlight, Windows Phone 7

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();
}

Property Value

The number of unique colors in an image.

Example

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also