Available in LEADTOOLS Vector Imaging toolkits. |
#include "ltwrappr.h"
virtual L_INT LVectorBase::EnumGroupsCallBack(pVector, pGroup)
pVECTORHANDLE pVector; |
/* pointer to a vector handle */ |
pVECTORGROUP pGroup; |
/* pointer to a vector group */ |
Processes each vector group enumerated by the LVectorBase::EnumGroups function.
Parameter |
Description |
pVector |
Pointer to the vector handle that contains the groups to enumerate. |
pGroup |
Pointer to the vector group being processed. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
The LVectorBase::EnumGroups function calls the callback function as it gets a pointer to each vector group.
To use LVectorBase::EnumGroupsCallBack, derive a class from LVectorBase and override the EnumGroupsCallBack member function. Note that this callback function does not return an LVectorGroupobject.
To get detailed information about each enumerated group, attach pGroup to an LVectorGroup class object and call LVectorGroup::GetGroupDesc.
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 LVectorBase::EnumGroups.