# GrapeCity.Documents.Word.DocumentSecurity

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Documents_Word_DocumentSecurity" data-uid="GrapeCity.Documents.Word.DocumentSecurity" class="text-break">DocumentSecurity Enum
</h1>
  <div class="markdown level0 summary"><p>Used as a value for the Security property. Specifies the security level of a document as a numeric value.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_DocumentSecurity_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Flags]
public enum DocumentSecurity</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Flags&gt;
Public Enum DocumentSecurity</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_DocumentSecurity_None">None</td>
        <td><p>There are no security states specified by the property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_DocumentSecurity_PasswordProtected">PasswordProtected</td>
        <td><p>The document is password protected. (Note has never been seen in a document so far).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_DocumentSecurity_ReadOnlyEnforced">ReadOnlyEnforced</td>
        <td><p>The document to always be opened read-only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_DocumentSecurity_ReadOnlyExceptAnnotations">ReadOnlyExceptAnnotations</td>
        <td><p>The document to always be opened read-only except for annotations.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_DocumentSecurity_ReadOnlyRecommended">ReadOnlyRecommended</td>
        <td><p>The document to be opened read-only if possible, but the setting can be overridden.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
