Error processing SSI file
LEADTOOLS Annotations (Leadtools.Annotations assembly)

Show in webframe

CanLock Property






Gets a value that indicates whether the object currently being edited (selected) can be locked.
Syntax
public virtual bool CanLock {get;}
'Declaration
 
Public Overridable ReadOnly Property CanLock As Boolean
'Usage
 
Dim instance As AnnAutomation
Dim value As Boolean
 
value = instance.CanLock

            

            
public:
virtual property bool CanLock {
   bool get();
}

Property Value

true if the object currently being edited (selected) can be locked; otherwise, false.
Remarks

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 not currently locked (the AnnObject.IsLocked value of this AnnObject is false). Otherwise, this property value is false.

Use the Lock method to lock the object currently being edited (selected).

For more information, refer to Implementing Annotation Security.

Example
For an example, refer to Lock.
Requirements

Target Platforms

See Also

Reference

AnnAutomation Class
AnnAutomation Members

Error processing SSI file
(Deprecated, use Leadtools.Annotations.Core instead)