←Select platform

ColorCount Property

Summary

Gets the number of unique colors in an image.

Syntax
C#
VB
Objective-C
C++
Java
public int ColorCount { get; } 
Public ReadOnly Property ColorCount As Integer 
@property (nonatomic, assign, readonly) NSUInteger colorCount 
public int getColorCount() 
public: 
property int ColorCount { 
   int get(); 
} 

Property Value

The number of unique colors in an image.

Example

Refer to ColorCountCommand.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Color Assembly