LAutomation::EditVectorObject

#include "ltwrappr.h"

L_INT LAutomation::EditVectorObject (pVectorObject);

L_INT LAutomation::EditVectorObject (pEditObject);

Edits the specified vector object.

Parameters

const pVECTOROBJECT pVectorObject

Pointer to a VECTOROBJECT structure that specifies the vector object to edit.

LVectorObject * pEditObject

Pointer to an LVectorObject class object that contains the vector object to edit.

Returns

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

Comments

✎ NOTE

This function is only available in the vector toolkits.

Starts editing an existing vector object.

Required DLLs and Libraries

See Also

Functions

Topics

Example

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 point  
 
   L_INT nRet = Vector.HitTest (pPoint, &MyObject); 
   if(nRet != SUCCESS) 
      return nRet; 
 
   nRet = Automation.EditVectorObject(&MyObject); 
   if(nRet != SUCCESS) 
      return nRet; 
 
   return SUCCESS; 
 
} 

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Container and Automation C++ Class Library Help