L_VecGetGroupByIndex

Summary

Gets the group at the specified index in the specified vector handle.

Syntax

#include "ltvkrn.h"

L_LVKRN_API L_INT L_VecGetGroupByIndex(pVector, nIndex, pGroup)

Parameters

const pVECTORHANDLE pVector

Pointer to the vector handle.

L_INT nIndex

Index of the requested group. This index is zero-based. Possible values are between 0 and L_VecGetGroupCount - 1.

pVECTORGROUP pGroup

Pointer to a VECTORGROUP structure to be updated with the group handle, if the group is found.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

To determine the number of groups in a vector handle, call L_VecGetGroupCount.

To get a group, given the name of the group, use L_VecGetGroupByName.

To get group information for a specific group, call L_VecGetGroup.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_VecGetGroupCount.

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

LEADTOOLS Vector C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.