(Read only) Gets the number of unique colors in an image.
Syntax
| Visual Basic (Declaration) | |
|---|
Public ReadOnly Property ColorCount As Integer |
| C# | |
|---|
public int ColorCount {get;} |
| Managed Extensions for C++ | |
|---|
public: __property int get_ColorCount(); |
| 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