←Select platform

CanUnlock Property

Summary

Gets a value that indicates whether the object currently being edited (selected) can be unlocked.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public virtual bool CanUnlock { get; } 
Public Overridable ReadOnly Property CanUnlock As Boolean 
public virtual bool CanUnlock {get;} 
@property (nonatomic,readonly) BOOL canUnlock; 
public boolean canUnlock() 
 get_CanUnlock();  
public:  
   virtual property bool CanUnlock 
   { 
      bool get() 
   } 

Property Value

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

Remarks

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

Use the Unlock method to unlock the object currently being edited (selected).

For more information, refer to Implementing Annotation Security.

Example

For an example, refer to Lock.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly