# C1.C1Excel.C1XLBook.DefaultFont

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Excel_C1XLBook_DefaultFont_" data-uid="C1.C1Excel.C1XLBook.DefaultFont*">DefaultFont Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Excel_C1XLBook_DefaultFont_" data-uid="C1.C1Excel.C1XLBook.DefaultFont*"></a>
<h4 id="C1_C1Excel_C1XLBook_DefaultFont" data-uid="C1.C1Excel.C1XLBook.DefaultFont">DefaultFont</h4>
<div class="markdown level1 summary"><p>Gets or sets the default font object for the <a class="xref" href="C1.C1Excel.C1XLBook.html">C1XLBook</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public Font DefaultFont { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public Property DefaultFont As Font</code></pre>
</div>
<h5 id="C1_C1Excel_C1XLBook_DefaultFont_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>You can assign any font to any cell using <a class="xref" href="C1.C1Excel.XLStyle.html">XLStyle</a> objects. Cells
that have no associated custom styles or have styles that do not define
a custom font are displayed using the book's default font.</p>
<p>The <a class="xref" href="C1.C1Excel.C1XLBook.DefaultFont.html#C1_C1Excel_C1XLBook_DefaultFont">DefaultFont</a> property is initially set to 10 pt Arial.</p>
</div>
</div>
