L_VecIsLocked

#include "lvkrn.h"

L_LVKRN_API L_BOOL L_VecIsLocked(pVector)

Determines whether or not the specified vector handle is locked.

Parameters

const pVECTORHANDLE pVector

Pointer to a vector handle.

Returns

Value Meaning
TRUE The specified vector handle is locked.
FALSE The specified vector handle is not locked.

Comments

Locking a vector handle has precedence over locking layers within the vector handle. Therefore, if a vector handle is locked, the layers within that vector handle cannot be edited, even if the layers are not locked.

Required DLLs and Libraries

See Also

Functions

Topics

Example

This example will determine whether the given vector handle is locked

L_INT VecIsLockedExample(pVECTORHANDLE pVector) 
{ 
   /* Check if locked */ 
   if( L_VecIsLocked( pVector ) ) 
      MessageBox( NULL, TEXT("Vector is locked"), TEXT("Test"), MB_OK ); 
   else 
      MessageBox( NULL, TEXT("Vector is not locked"), TEXT("Test"), 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