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::EnumObjectsCallBack

Show in webframe

#include "ltwrappr.h"

virtual L_INT LVectorBase::EnumObjectsCallBack(pVector, pObject)

pVECTORHANDLE pVector;

/* pointer to a vector handle */

pVECTOROBJECT pObject;

/* pointer to a vector Object */

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

Parameter

Description

pVector

Pointer to the vector image containing the objects to enumerate.

pObject

Pointer to the vector object being processed.

Returns

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

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::EnumObjects

Topics:

Manipulating Objects or Vertices within a Vector Image

 

Vector Images: Obtaining Object Information

Example

For an example, refer to LVectorObject::IsObjectInsideParallelogram.

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