L_VecIsEmpty

#include "lvkrn.h"

L_LVKRN_API L_BOOL L_VecIsEmpty(pVector)

Determines whether the specified vector handle is empty.

Parameters

const pVECTORHANDLE pVector

Pointer to a vector handle that references a vector image.

Returns

Value Meaning
TRUE The vector image is empty.
FALSE The vector image is not empty.

Comments

A vector image is considered empty when it has no objects.

An empty vector image can still have empty layers.

Required DLLs and Libraries

See Also

Functions

Topics

Example

This example determines whether a vector image is empty or not.

L_INT VecIsEmptyExample(pVECTORHANDLE pVector) 
{ 
   if( L_VecIsEmpty( pVector ) ) 
      MessageBox( NULL, TEXT("Vector is empty!"), TEXT("Empty"), MB_OK ); 
   else 
      MessageBox( NULL, TEXT("Vector is not empty!"), TEXT("Empty"), MB_OK ); 
 
   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 Vector C API Help