#include "ltwrappr"
virtual L_INT LVectorBase::EnumLayersCallBack(pVector, pLayer)
pVECTORHANDLE pVector; |
pointer to a vector handle |
pVECTORLAYER pLayer; |
pointer to a vector layer |
Processes each vector layer enumerated by the LVectorBase::EnumLayers function.
Parameter |
Description |
pVector |
Pointer to the vector handle that contains the layers to enumerate. |
pLayer |
Pointer to the vector layer being processed. |
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
The LVectorBase::EnumLayers function calls the callback function as it gets a pointer to each each vector layer.
To use the LVectorBase::EnumLayersCallBack, you must derive a class from LVectorBase and override the LVectorBase::EnumLayersCallBack member function. Note that this callback does not return an LVectorLayer object.
You can attach pLayer to an LVectorLayer class object and call LVectorLayer::GetLayerDesc to get detailed information about each enumerated layer.
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. |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET