Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Description

Excerpt

Sets or returns a boolean representing whether or not annotations are locked in this document.

Signature
C#
C#
public boolean AnnotationsLocked { get; set; }
Signature
vb.net
vb.net
Public Property AnnotationsLocked() As Boolean

Example
Code Block
csharp
csharp
titleC#
          //--- Get AnnotationsLocked
          bool annotationsLocked = docProtect.AnnotationsLocked;

          //--- Set AnnotationsLocked
          docProtect.AnnotationsLocked = true;
        
Code Block
vb.net
vb.net
titlevb.net
          '--- Get AnnotationsLocked
          Dim annotationsLocked As Boolean = docProtect.AnnotationsLocked

          '--- Set AnnotationsLocked
          docProtect.AnnotationsLocked = True