LVectorBase::EnumObjectsCallBack

Summary

Processes each vector object enumerated by the LVectorBase::EnumObjects function.

Syntax

#include "ltwrappr.h"

virtual L_INT LVectorBase::EnumObjectsCallBack(pVector, pObject)

Parameters

pVECTORHANDLE pVector

Pointer to the vector image containing the objects to enumerate.

pVECTOROBJECT pObject

Pointer to the vector object being processed.

Returns

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

Comments

The LVectorBase::EnumObjects function calls your callback function as it gets the handle of each vector object.

To use this function, you must do the following:

  1. Derive a class from LVectorBase.

  2. Override the L_INT LVectorBase::EnumObjectsCallBack. Function in your class.

  3. Before calling LVectorBase::EnumObjects, you must call the member function LBase::EnableCallBack(TRUE).

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to LVectorObject::IsObjectInsideParallelogram.

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.