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
Wiki Markup
{description}
{excerpt}Sets or returns a {{boolean}} representing whether or not annotations are locked in this document.{excerpt}
{signature:C#}
 public boolean AnnotationsLocked{ get; set; }
{signature}{signature:vb.net}
Public Property AnnotationsLocked() As Boolean
{signature}
{example}{code:csharp|title=C#}

          //--- Get AnnotationsLocked
          bool annotationsLocked = docProtect.AnnotationsLocked;

          //--- Set AnnotationsLocked
          docProtect.AnnotationsLocked = true;
        {code}
{code:vb.net|title=vb.net}

          '--- Get AnnotationsLocked
          Dim annotationsLocked As Boolean = docProtect.AnnotationsLocked

          '--- Set AnnotationsLocked
          docProtect.AnnotationsLocked = True
        {code}

{example}