#include "ltwrappr.h"
L_INT LAutomation::EditVectorObject (pVectorObject);
L_INT LAutomation::EditVectorObject (pEditObject);
Edits the specified vector object.
Pointer to a VECTOROBJECT structure that specifies the vector object to edit.
Pointer to an LVectorObject class object that contains the vector object to edit.
| Value | Meaning |
|---|---|
| SUCCESS | The function was successful. |
| < 1 | An error occurred. Refer to Return Codes. |
✎ NOTE
This function is only available in the vector toolkits.
Starts editing an existing vector object.
Required DLLs and Libraries
This example uses automation to edit a vector object under a given 2D point.
// LAutomation::EditVectorObject()L_INT LAutomation_EditVectorObjectExample(LVectorBase &Vector, LAutomation &Automation, LPPOINT pPoint){LVectorObject MyObject;// Get object under that pointL_INT nRet = Vector.HitTest (pPoint, &MyObject);if(nRet != SUCCESS)return nRet;nRet = Automation.EditVectorObject(&MyObject);if(nRet != SUCCESS)return nRet;return SUCCESS;}