LVectorBase::EnumLayersCallBack

Summary

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

Syntax

#include "ltwrappr.h"

virtual L_INT LVectorBase::EnumLayersCallBack(pVector, pLayer)

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help

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