# GrapeCity.Documents.Word.FindReplaceOptions.RemoveEmptyRuns

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_FindReplaceOptions_RemoveEmptyRuns_" data-uid="GrapeCity.Documents.Word.FindReplaceOptions.RemoveEmptyRuns*">RemoveEmptyRuns Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_FindReplaceOptions_RemoveEmptyRuns_" data-uid="GrapeCity.Documents.Word.FindReplaceOptions.RemoveEmptyRuns*"></a>
<h4 id="GrapeCity_Documents_Word_FindReplaceOptions_RemoveEmptyRuns" data-uid="GrapeCity.Documents.Word.FindReplaceOptions.RemoveEmptyRuns">RemoveEmptyRuns</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether empty runs that appeared as the result of a replace operation
should be removed.</p>
<p>The default is false.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool RemoveEmptyRuns { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property RemoveEmptyRuns As Boolean</code></pre>
</div>
<h5 id="GrapeCity_Documents_Word_FindReplaceOptions_RemoveEmptyRuns_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Specifying an empty search string and setting this property to true will remove all empty runs.</p>
</div>
</div>
