LVectorBase::EnumLayersCallBack

#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.

Returns

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

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.

See Also

Functions:

LVectorBase::EnumLayers

Example

For an example, refer to LVectorBase::EnumLayers.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Vector C++ Class Library Help