Available in LEADTOOLS Vector Imaging toolkits. |
#include "ltwrappr.h"
virtual L_INT LVectorBase::CopyGroup(pVectorGroupDst, pVectorGroupSrc, dwFlags = 0)
LVectorGroup *pVectorGroupDst; |
/* pointer to an LVectorGroup object */ |
LVectorGroup *pVectorGroupSrc; |
/* pointer to an LVectorGroup object */ |
L_UINT32 dwFlags; |
/* copy flags */ |
Copies the contents of one group to another.
This function is available in the LEADTOOLS Vector Imaging Pro Toolkit.
Parameter |
Description |
|
pVectorGroupDst |
Pointer to an LVectorGroup object that references the destination group. |
|
pVectorGroupSrc |
Pointer to an LVectorGroup object that references the source group. |
|
dwFlags |
Flag that indicates whether or not to empty the destination group before copying. Possible values are: |
|
|
Value |
Meaning |
|
0 |
Do not empty the destination group before copying. |
|
VECTOR_FLAGS_REPLACE |
Empty the destination group before copying. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
The destination group can be in the same vector handle as the source group, or it can be in a different vector handle.
An LVectorGroup object can be obtained by calling LVectorBase::EnumGroups, LVectorBase::GetGroupByName or LVectorBase::GetGroupByIndex.
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: |
LVectorBase::AddGroup, LVectorBase::GetGroupByName, LVectorBase::GetGroupByIndex, LVectorGroup::GetGroupDesc |
Topics: |
Example
For an example, refer to LVectorBase::GetGroupCount.