←Select platform

CanLock Property

Summary
Gets a value that indicates whether the object currently being edited (selected) can be locked.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public virtual bool CanLock { get; } 
@property (nonatomic, assign, readonly) BOOL canLock; 
public boolean canLock() 
public:  
   virtual property bool CanLock 
   { 
      bool get() 
   } 
CanLock # get  (AnnAutomation) 

Property Value

true if the object currently being edited (selected) can be locked; otherwise, it is false.

Remarks

This property value is true if an AnnObject is currently being edited (selected); in other words, CurrentEditObject is not null and also this AnnObject is not currently locked (the IsLocked value of this AnnObject is false). Otherwise, this property value is false.

Use the Lock method to lock the object currently being edited (selected).

For more information, refer to Implementing Annotation Security.

Requirements

Target Platforms

Help Version 22.0.2023.4.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.