Determines whether the specified vector handle is empty.
#include "ltvkrn.h"
L_LVKRN_API L_BOOL L_VecIsEmpty(pVector)
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.
This example determines whether a vector image is empty or not.
L_LTVKRNTEX_API 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;
}