LVectorBase::CopyGroup

#include "ltwrappr.h"

virtual L_INT LVectorBase::CopyGroup(pVectorGroupDst, pVectorGroupSrc, dwFlags = 0)

Copies the contents of one group to another.

This function is available in the LEADTOOLS Vector Imaging Pro Toolkit.

Parameters

LVectorGroup *pVectorGroupDst

Pointer to an LVectorGroup object that references the destination group.

LVectorGroup *pVectorGroupSrc

Pointer to an LVectorGroup object that references the source group.

L_UINT32 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

Value Meaning
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

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help