See Also Examples Applies To
Counts the number of pixel that have a specific color into the native GdPicture image or into an area of the native GdPicture image defined by SetROI() function.
Syntax
object.CountColor (nARGBColor)
The CountColor syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| nARGBColor | Required. Long. ARGB color value of the color to count. |
Returns
Double. The number of pixel that match the color.
Remarks
Use the GetStat() function to check if this function has completed successfully.
Category
Standalone Functions