Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Vector C++ Class Library Help

LVectorBase::CopyGroup

Show in webframe

#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:

Working with Vector Groups

Example

For an example, refer to LVectorBase::GetGroupCount.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.