Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

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

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre> public boolean AnnotationsLocked\ { get; set; \}
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
<p>PublicPublic Property AnnotationsLocked() As Boolean</p>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