LEADTOOLS Vector C++ Class Library Help > Classes and Member Functions > LVectorGroup > LVectorGroup Class Members > LVectorGroup::EnumObjectsCallBack |
#include "ltwrappr.h"
virtual L_INT LVectorGroup::EnumObjectsCallBack(pVector, pObject)
pVECTORHANDLE pVector; |
/* pointer to a vector handle */ |
pVECTOROBJECT pObject; |
/* pointer to a vector group */ |
Processes each vector object enumerated by the LVectorGroup::EnumObjects function.
Parameter |
Description |
pVector |
Pointer to the class object's associated vector handle, which contains the objects to enumerate. |
pObject |
Pointer to the vector object being processed. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
The LVectorGroup::EnumObjects function calls this function as it gets a pointer to each vector object.
To use this function, derive a class from LVectorGroup and override the EnumObjectsCallBack member function. Note that LVectorGroup::EnumObjectsCallBack does not return an LVectorObject object.
To get detailed information about each vector object, attach the pVECTOROBJECT pObject to an LVectorObject class object and call LVectorObject::LockObject and LVectorObject::UnlockObject.
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
|
Topics: |
Example
For an example, refer to LVectorGroup::EnumObjects.