# GrapeCity.Documents.Word.EditProtectionMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Documents_Word_EditProtectionMode" data-uid="GrapeCity.Documents.Word.EditProtectionMode" class="text-break">EditProtectionMode Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the type of protection applied to a document.</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_EditProtectionMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum EditProtectionMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum EditProtectionMode</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_EditProtectionMode_AllowOnlyComments">AllowOnlyComments</td>
        <td><p>Allow only comments to be added to the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EditProtectionMode_AllowOnlyFormFields">AllowOnlyFormFields</td>
        <td><p>Allow content to be added to the document only through form fields.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EditProtectionMode_AllowOnlyReading">AllowOnlyReading</td>
        <td><p>Allow read-only access to the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EditProtectionMode_AllowOnlyRevisions">AllowOnlyRevisions</td>
        <td><p>Allow only revisions to be made to existing content.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EditProtectionMode_NoProtection">NoProtection</td>
        <td><p>No protection is applied to the document.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
