LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
IsLocked Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnObject Class : IsLocked Property



Gets a value that indicates whether this AnnObject is locked. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property IsLocked As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnObject
Dim value As Boolean
 
value = instance.IsLocked
C# 
public bool IsLocked {get;}
C++/CLI 
public:
property bool IsLocked {
   bool get();
}

Property Value

true if this AnnObject is currently locked; false otherwise.

Example

For C#/VB examples, refer to AnnObject.Lock.

Remarks

(Read only) Only unlocked objects can be locked. If an object is already locked, it will stay locked with its original password. You must pass the same password to AnnObject.Unlock to unlock this AnnObject.

An object must be unlocked in order to change that object in automated mode.

For more information, refer to Implementing WPF Annotation Security.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

IsLocked requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.