L_VecEmpty

#include "lvkrn.h"

L_LVKRN_API L_INT L_VecEmpty(pVector)

Deletes all layers and objects from the specified vector handle. This function is available in the LEADTOOLS Vector Imaging Pro Toolkit.

Parameters

pVECTORHANDLE pVector

Pointer to a vector handle that references the vector image to be emptied.

Returns

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

Comments

Calling this function will not affect other settings such as camera, transformation, etc.

Required DLLs and Libraries

See Also

Functions

Topics

Example

This example empties a vector handle.

L_INT VecEmptyExample(pVECTORHANDLE pVector) 
{ 
   L_INT nRet; /* return value */ 
 
   nRet = L_VecEmpty ( pVector ); 
 
   if( nRet != SUCCESS ) 
      MessageBox( NULL, TEXT("Error while emptying the vector!"), NULL, MB_OK ); 
 
   return nRet; 
} 

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

LEADTOOLS Vector C API Help