# C1.C1Excel.C1XLBook.Clear

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Excel_C1XLBook_Clear_" data-uid="C1.C1Excel.C1XLBook.Clear*">Clear Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Excel_C1XLBook_Clear_" data-uid="C1.C1Excel.C1XLBook.Clear*"></a>
<h4 id="C1_C1Excel_C1XLBook_Clear" data-uid="C1.C1Excel.C1XLBook.Clear">Clear()</h4>
<div class="markdown level1 summary"><p>Clears the <a class="xref" href="C1.C1Excel.C1XLBook.html">C1XLBook</a>, restoring the initial state with a single
<a class="xref" href="C1.C1Excel.XLSheet.html">XLSheet</a> called &quot;Sheet1&quot;.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Clear()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Clear()</code></pre>
</div>
<h5 id="C1_C1Excel_C1XLBook_Clear_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <a class="xref" href="C1.C1Excel.C1XLBook.Clear.html#C1_C1Excel_C1XLBook_Clear">Clear()</a> method restores the <a class="xref" href="C1.C1Excel.C1XLBook.html">C1XLBook</a> object
to its initial state, with a single empty sheet called &quot;Sheet1&quot; and the
<a class="xref" href="C1.C1Excel.C1XLBook.DefaultFont.html#C1_C1Excel_C1XLBook_DefaultFont">DefaultFont</a> set to 10pt Arial.</p>
</div>
</div>
