public virtual bool CanLock {get;}
public virtual bool CanLock {get;}
@property (nonatomic,readonly) BOOL canLock;
public boolean canLock()
get_CanLock();
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.