Gets the group at the specified index in the class object's vector handle.
#include "ltwrappr.h"
virtual L_INT LVectorBase::GetGroupByIndex(nIndex, pVectorGroup)
Index of the requested group. This index is zero-based. Possible values are between 0 and LVectorBase::GetGroupCount - 1.
Pointer to an LVectorGroup object to be updated, if the group is found. If the group is not found, this function will return ERROR_VECTOR_GROUP_NOT_FOUND.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
To determine the number of groups in a vector handle, call LVectorBase::GetGroupCount.
To get a group, given the name of the group, use LVectorBase::GetGroupByName.
To get group information for a specific group, call LVectorGroup::GetGroupDesc.
For an example, refer to LVectorDialog::DoModalVectorEditGroup.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document