Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns a boolean representing whether or not Word will lock the Styles in this document.

{signature}
{example}{code:csharp|title=C#}

          //--- Get StylesLocked
          bool stylesLocked = docProtect.StylesLocked;

          //--- Set StylesLocked
          oDocumentProperties.StylesLocked = true;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Get StylesLocked
          Dim stylesLocked As Boolean = docProtect.StylesLocked

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

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a {{boolean}} representing whether or not Word will lock the Styles in this document.{excerpt}
{signature:C#}
 public boolean StylesLocked{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property StylesLocked() As Boolean
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle