Leadtools.Annotations Namespace > AnnAutomation Class : CanUnlock Property |
public virtual bool CanUnlock {get;}
'Declaration Public Overridable ReadOnly Property CanUnlock As Boolean
'Usage Dim instance As AnnAutomation Dim value As Boolean value = instance.CanUnlock
public virtual bool CanUnlock {get;}
get_CanUnlock();
This property value is true if an AnnObject is currently being edited (selected); in other words, CurrentEditObject is not null (Nothing in Visual Basic) and also this AnnObject is currently locked (the AnnObject.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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2