#include "ltaut.h"
L_LTAUT_API L_INT L_AutEditVectorObject (pAutomation, pObject);
pAUTOMATIONHANDLE pAutomation; |
pointer to an automation handle |
const pVECTOROBJECT pObject; |
pointer to a structure |
Edits the specified vector object.
Parameter |
Description |
pAutomation |
Pointer to an automation handle. |
pObject |
Pointer to a VECTOROBJECT structure that specifies the vector object to edit. |
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
LTAUT For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
Functions: |
|
Topics: |
This example will edit the vect7or object under a given point in screen.
L_INT AutEditVectorObjectExample(pAUTOMATIONHANDLE pAutomation,pVECTORHANDLE pVector,POINT* pt ){L_INT nRet;VECTOROBJECT Object;ZeroMemory(&Object, sizeof(VECTOROBJECT));Object.nSize = sizeof(VECTOROBJECT);/* Get the vector object under point */nRet = L_VecHitTest( pVector, pt, &Object );if( nRet == SUCCESS ){// Edit this objectnRet = L_AutEditVectorObject( pAutomation, &Object );if(nRet != SUCCESS)return nRet;}return SUCCESS;}