# GrapeCity.Documents.Word.Style.Delete

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_Style_Delete_" data-uid="GrapeCity.Documents.Word.Style.Delete*">Delete Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_Style_Delete_" data-uid="GrapeCity.Documents.Word.Style.Delete*"></a>
<h4 id="GrapeCity_Documents_Word_Style_Delete" data-uid="GrapeCity.Documents.Word.Style.Delete">Delete()</h4>
<div class="markdown level1 summary"><p>Deletes the style from the document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Delete()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Delete()</code></pre>
</div>
<h5 id="GrapeCity_Documents_Word_Style_Delete_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Style removal has following effects on the document model:</p>
<ul><li>All references to the style are removed from corresponding paragraphs, runs and tables.</li><li>If a base style is removed, its formatting is moved to child styles.</li><li>If the style to be deleted has a linked style, then both styles are deleted.</li></ul>
</div>
</div>
