LVectorBase::EnumLayersCallBack

#include "ltwrappr"

virtual L_INT LVectorBase::EnumLayersCallBack(pVector, pLayer)

Processes each vector layer enumerated by the LVectorBase::EnumLayers function.

Parameters

pVECTORHANDLE pVector

Pointer to the vector handle that contains the layers to enumerate.

pVECTORLAYER pLayer

Pointer to the vector layer being processed.

Returns

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

Comments

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

See Also

Functions

Example

For an example, refer to LVectorBase::EnumLayers

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

LEADTOOLS Vector C++ Class Library Help