AnnShowLockedIcon example for Visual Basic

Note: This topic is for Document/Medical only.

This example toggles the AnnShowLockedIcon property.

'Toggle AnnShowLockedIcon
    If Lead1.AnnShowLockedIcon = True Then
        Lead1.AnnShowLockedIcon = False
    Else
        Lead1.AnnShowLockedIcon = True
    End If