#include "lvkrn.h"
L_LVKRN_API L_INT L_VecGetLayerByIndex(pVector, nIndex, pLayer)
const pVECTORHANDLE pVector; |
Pointer to the vector handle |
L_INT nIndex; |
Index |
pVECTORLAYER pLayer; |
pointer to a vector layer |
Gets the layer at the specified index in the specified vector handle.
Parameter |
Description |
pVector |
Pointer to the vector handle. |
nIndex |
Index of the requested layer. This index is zero-based. Possible values are between 0 and L_VecGetLayerCount - 1. |
pLayer |
Pointer to a VECTORLAYER structure to be updated with the layer handle, if the layer is found. |
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
To determine the number of layers in a vector handle, call L_VecGetLayerCount.
To get a layer, given the name of the layer, use L_VecGetLayerByName.
To get layer information for a specific layer, call L_VecGetLayer.
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. |