Sets the locked attribute for a specific element for the specific layer. Locked controls if the user can move or select the annotation.
Visual Basic |
---|
Public Sub PrgSetItemLocked( _ ByVal layerHandle As Long, _ ByVal seqNum As Long, _ ByVal Locked As Boolean _ ) |
- layerHandle
- The handle of a layer returned by the CreateLayer method.
- seqNum
- The handle of an element returned by the ElementAppend method.
- Locked
- If the element is locked.
A locked annotation cannot be selected or moved by a user in Edit mode.