L_VecIsEmpty

Summary

Determines whether the specified vector handle is empty.

Syntax

#include "ltvkrn.h"

L_LVKRN_API L_BOOL L_VecIsEmpty(pVector)

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 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.