L_VecEmpty

Summary

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

Syntax

#include "ltvkrn.h"

L_LVKRN_API L_INT L_VecEmpty(pVector)

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.