Empties the specified group. This function is available in the LEADTOOLS Vector Imaging Pro Toolkit.
L_LVKRN_API L_INT L_VecEmptyGroup(pVector, pGroup)
Pointer to the vector handle.
Pointer to a VECTORGROUP structure that references the group to be emptied.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
The specified group is emptied by deleting all objects within that group.
To delete a group, call L_VecDeleteGroup.
After calling this function, all clone objects of this group will reflect the change immediately.
This example will delete all objects inside the group with the given name.
L_LTVKRNTEX_API L_INT VecEmptyGroupExample(
/* Get the group with the given name */
nRet = L_VecGetGroupByName( pVector, pszName, &Group );
if( SUCCESS == nRet )
nRet = L_VecEmptyGroup ( pVector, &Group ); /* empty out */
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms