#include "lvkrn.h"
L_LVKRN_API L_BOOL L_VecIsEmpty(pVector)
Determines whether the specified vector handle is empty.
Pointer to a vector handle that references a vector image.
Value | Meaning |
---|---|
TRUE | The vector image is empty. |
FALSE | The vector image is not empty. |
A vector image is considered empty when it has no objects.
An empty vector image can still have empty layers.
Required DLLs and Libraries
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;
}