# GrapeCity.Spreadsheet.IFont

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_IFont" data-uid="GrapeCity.Spreadsheet.IFont" class="text-break">IFont Interface
</h1>
  <div class="markdown level0 summary"><p>Contains the font attributes (font name, font size, color, and so on) for an object.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.html">GrapeCity.Spreadsheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_IFont_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IFont</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IFont</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFont_Bold" data-uid="GrapeCity.Spreadsheet.IFont.Bold">
          <a class="xref" href="GrapeCity.Spreadsheet.IFont.Bold.html#GrapeCity_Spreadsheet_IFont_Bold">Bold</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the font is bold.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFont_Color" data-uid="GrapeCity.Spreadsheet.IFont.Color">
          <a class="xref" href="GrapeCity.Spreadsheet.IFont.Color.html#GrapeCity_Spreadsheet_IFont_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the primary color of the object</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFont_ColorIndex" data-uid="GrapeCity.Spreadsheet.IFont.ColorIndex">
          <a class="xref" href="GrapeCity.Spreadsheet.IFont.ColorIndex.html#GrapeCity_Spreadsheet_IFont_ColorIndex">ColorIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an integer value that represents the indexed color of the font.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFont_FontStyle" data-uid="GrapeCity.Spreadsheet.IFont.FontStyle">
          <a class="xref" href="GrapeCity.Spreadsheet.IFont.FontStyle.html#GrapeCity_Spreadsheet_IFont_FontStyle">FontStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font style</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFont_Italic" data-uid="GrapeCity.Spreadsheet.IFont.Italic">
          <a class="xref" href="GrapeCity.Spreadsheet.IFont.Italic.html#GrapeCity_Spreadsheet_IFont_Italic">Italic</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the font is italic.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFont_Name" data-uid="GrapeCity.Spreadsheet.IFont.Name">
          <a class="xref" href="GrapeCity.Spreadsheet.IFont.Name.html#GrapeCity_Spreadsheet_IFont_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that represents the name of the object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFont_Size" data-uid="GrapeCity.Spreadsheet.IFont.Size">
          <a class="xref" href="GrapeCity.Spreadsheet.IFont.Size.html#GrapeCity_Spreadsheet_IFont_Size">Size</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the size in points of the font.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFont_SizeInPixels" data-uid="GrapeCity.Spreadsheet.IFont.SizeInPixels">
          <a class="xref" href="GrapeCity.Spreadsheet.IFont.SizeInPixels.html#GrapeCity_Spreadsheet_IFont_SizeInPixels">SizeInPixels</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the size in pixels of the font.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFont_Strikethrough" data-uid="GrapeCity.Spreadsheet.IFont.Strikethrough">
          <a class="xref" href="GrapeCity.Spreadsheet.IFont.Strikethrough.html#GrapeCity_Spreadsheet_IFont_Strikethrough">Strikethrough</a>
        </td>
        <td class="markdown level1 summary"><p>True if the font is struck through with a horizontal line.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFont_Subscript" data-uid="GrapeCity.Spreadsheet.IFont.Subscript">
          <a class="xref" href="GrapeCity.Spreadsheet.IFont.Subscript.html#GrapeCity_Spreadsheet_IFont_Subscript">Subscript</a>
        </td>
        <td class="markdown level1 summary"><p>True if the font is formatted as subscript. False by default.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFont_Superscript" data-uid="GrapeCity.Spreadsheet.IFont.Superscript">
          <a class="xref" href="GrapeCity.Spreadsheet.IFont.Superscript.html#GrapeCity_Spreadsheet_IFont_Superscript">Superscript</a>
        </td>
        <td class="markdown level1 summary"><p>True if the font is formatted as superscript; False by default.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFont_ThemeFont" data-uid="GrapeCity.Spreadsheet.IFont.ThemeFont">
          <a class="xref" href="GrapeCity.Spreadsheet.IFont.ThemeFont.html#GrapeCity_Spreadsheet_IFont_ThemeFont">ThemeFont</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the theme font in the applied font scheme that is associated with the specified object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFont_Underline" data-uid="GrapeCity.Spreadsheet.IFont.Underline">
          <a class="xref" href="GrapeCity.Spreadsheet.IFont.Underline.html#GrapeCity_Spreadsheet_IFont_Underline">Underline</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of underline applied to the font.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFont_ApplyFont_GrapeCity_Spreadsheet_Font_" data-uid="GrapeCity.Spreadsheet.IFont.ApplyFont(GrapeCity.Spreadsheet.Font)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFont.ApplyFont.html#GrapeCity_Spreadsheet_IFont_ApplyFont_GrapeCity_Spreadsheet_Font_">ApplyFont(Font)</a>
        </td>
        <td class="markdown level1 summary"><p>Apply font's setting for whole font</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
