Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Vector C++ Class Library Help

LVectorBase::EnumLayersCallBack

Show in webframe

#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

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.