AccusoftImagXpress13 ActiveX DLL > ImagXpress Object : ColorCount Method |
Note: The specified Color must be in a valid OLE_COLOR range.
Visual Basic |
---|
Public Function ColorCount( _ ByVal Color As OLE_COLOR _ ) As Long |
Note: The specified Color must be in a valid OLE_COLOR range.
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. Use the Area and Region methods to process a portion of the image.
Private Function CountBlack() As Long CountBlack = ImagXpress1.ColorCount(rgb(0, 0, 0)) End Function