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



password
String containing the password used to lock the annotation objects in this group object.
password
String containing the password used to lock the annotation objects in this group object.
Locks this AnnGroupObject object with the specified password.

Syntax

Visual Basic (Declaration) 
Overrides Public Sub Lock( _
   ByVal password As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnGroupObject
Dim password As String
 
instance.Lock(password)
C# 
public override void Lock( 
   string password
)
C++/CLI 
public:
void Lock( 
   String^ password
) override 

Parameters

password
String containing the password used to lock the annotation objects in this group object.

Remarks

The AnnGroupObject class overrides the AnnObjectBase.Lock method to lock all objects in the group. For more information, refer to AnnObjectBase.Lock. An object must be unlocked in order to change that object in automation mode. Redact objects must be unlocked to be restored(unrealized). 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

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