←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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Color Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.