L_VecIsLocked

Summary

Determines whether or not the specified vector handle is locked.

Syntax

#include "ltvkrn.h"

L_LVKRN_API L_BOOL L_VecIsLocked(pVector)

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_LTVKRNTEX_API 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 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.