Parameters
- ImageID
- GdPicture image identifier.
- PickColor
- Color to count. A suitable color value can be obtained by using the ARGB() method.
Return Value
The number of pixel that match the color.
This method requires the Image Documents component to run.
Use the GetStat() method to check if this method has completed successfully.