LBitmap::ObjectCounterCallBack (original) (raw)
Summary
Handles each object found by LBitmap::ObjectCounter function.
Syntax
#include "ltwrappr.h"
virtual L_INT LBitmap::ObjectCounterCallBack(rcRect, Object)
Parameters
L_RECT rcRect
A rectangle structure used to specify the area where the object exists.
L_INT ** Object
A two dimensional array represents the information about the object shape.
Returns
| Value | Meaning |
|---|---|
| SUCCESS | The function was successful. |
| < 1 | An error occurred. Refer to Return Codes. |
Comments
This function is used to control a part of the image where the object was found.
LBitmap::ObjectCounter supports only 1-bit images. The callback should reflect that if there are any operations on the image itself.
Required DLLs and Libraries
- LTIMGCOR
- For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Platforms
Win32, x64.
See Also
Functions
- LBitmap::DeleteObjectInfo
- LBitmap::EndFastMagicWandEngine
- LBitmap::ObjectCounter
- LBitmap::StartFastMagicWandEngine
- LBitmap::FastMagicWand
- LBitmapRgn::SetRgnMagicWand
Topics
Example
For an example, refer to LBitmap::ObjectCounter.
LEADTOOLS Raster Imaging C++ Class Library Help