Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
IsLocked Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnObjectBase Class : IsLocked Property





Gets a value that indicates whether this AnnObjectBase is locked. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property IsLocked As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnObjectBase
Dim value As Boolean
 
value = instance.IsLocked
C# 
public bool IsLocked {get;}
C++/CLI 
public:
property bool IsLocked {
   bool get();
}
XAML Syntax 
You cannot use this property in XAML.

Dependencies Property Information 

Identifier field

IsLockedProperty

Metadata properties set to true

AffectsRender

XAML Syntax 
You cannot use this property in XAML.

Dependencies Property Information 

Identifier field

IsLockedProperty

Metadata properties set to true

AffectsRender

Return Value

true if this AnnObjectBase is currently locked; false otherwise.

Example

For C#/VB examples, refer to AnnObjectBase.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 AnnObjectBase.Unlock to unlock this AnnObjectBase.

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: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

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.