Accusoft.ImagXpress13.Net
ColorCount Method




A System.Drawing.Color specified. This parameter stores four, 8-bit components: alpha, red, green, and blue, respectively.
Returns the number of pixels of a specified color within the current image or image area.
Syntax
'Declaration
 
Public Function ColorCount( _
   ByVal color As Color _
) As Long
'Usage
 
Dim instance As Processor
Dim color As Color
Dim value As Long
 
value = instance.ColorCount(color)
public long ColorCount( 
   Color color
)
public: long ColorCount( 
   Color color
) 
public:
int64 ColorCount( 
   Color color
) 

Parameters

color
A System.Drawing.Color specified. This parameter stores four, 8-bit components: alpha, red, green, and blue, respectively.

Return Value

A long value that represents the count of pixels of the specified color parameter.
Remarks

This method can be used to determine if a check box on a document image is filled or if a specific field on a form is filled.

See Also

Reference

Processor Class
Processor Members

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback