# GrapeCity.Documents.Word.FormattingCopyStrategy

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Documents_Word_FormattingCopyStrategy" data-uid="GrapeCity.Documents.Word.FormattingCopyStrategy" class="text-break">FormattingCopyStrategy Enum
</h1>
  <div class="markdown level0 summary"><p>Defines how formatting (style or direct) is handled when copying objects.</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_FormattingCopyStrategy_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum FormattingCopyStrategy</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum FormattingCopyStrategy</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_FormattingCopyStrategy_Clear">Clear</td>
        <td><p>Clear any applied style or direct formatting.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FormattingCopyStrategy_Copy">Copy</td>
        <td><p>If a style with the same id and type exists in the destination document, it is used.
If there is no such style, or the type of the style does not match the source, a new style is created.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FormattingCopyStrategy_KeepSource">KeepSource</td>
        <td><p>Copy styles from the source document unless an identical style that also has the same id exists in the destination document.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
