# GrapeCity.SpreadBuilder.Cells.DDCell.FontSize

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_SpreadBuilder_Cells_DDCell_FontSize_" data-uid="GrapeCity.SpreadBuilder.Cells.DDCell.FontSize*">FontSize Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_SpreadBuilder_Cells_DDCell_FontSize_" data-uid="GrapeCity.SpreadBuilder.Cells.DDCell.FontSize*"></a>
<h4 id="GrapeCity_SpreadBuilder_Cells_DDCell_FontSize" data-uid="GrapeCity.SpreadBuilder.Cells.DDCell.FontSize">FontSize</h4>
<div class="markdown level1 summary"><p>Gets or sets the size of the font of the text displayed in the cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public double FontSize { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a> value representing font size in points.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_SpreadBuilder_Cells_DDCell_FontSize_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The specified size would be rounded up or down to the nearest half point.</p>
</div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception">ArgumentOutOfRangeException</a></td>
      <td><p>Thrown when attempting to set a value greater (or equals) than 20 feet, or less (or equals) than 0.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
