LVectorLayer::EnumObjects

#include "ltwrappr.h"

virtual L_INT LVectorLayer::EnumObjects(dwFlags)

L_UINT32 dwFlags;

/* flags */

Enumerates all objects inside the vector layer object.

Parameter

Description

dwFlags

Flag that indicates which objects to enumerate. Possible values are:

 

Value

Meaning

 

0

Enumerate all objects in the layer.

 

VECTOR_FLAGS_SELECTED_ONLY

Enumerate only selected objects in the layer.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Note: In DirectX and OpenGL engines, you cannot enumerate objects, therefore this function will do nothing.

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:

LVectorLayer::EnumObjectsCallBack, LVectorBase::EnumVertices

Topics:

Working with Vector Objects

Example

For an example, refer to LVectorLayer::EnumObjectsCallBack.