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





Gets the password used in the last successful lock operation of this AnnObjectBase.

Syntax

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

Return Value

The password used in the last successful lock operation of this AnnObjectBase.

Example

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

Remarks

(Read only) If the object is locked, the password passed to the AnnObjectBase.Lock is stored in this property.

When the object is unlocked successfully with AnnObjectBase.Unlock, the password is cleared (the value will be an empty string).

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

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