# GrapeCity.Spreadsheet.IFormatter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_IFormatter" data-uid="GrapeCity.Spreadsheet.IFormatter" class="text-break">IFormatter Interface
</h1>
  <div class="markdown level0 summary"><p>Represents the value formatter.</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_IFormatter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IFormatter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IFormatter</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_IFormatter_Culture" data-uid="GrapeCity.Spreadsheet.IFormatter.Culture">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.Culture.html#GrapeCity_Spreadsheet_IFormatter_Culture">Culture</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the culture for the current formatter.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_FormatCode" data-uid="GrapeCity.Spreadsheet.IFormatter.FormatCode">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.FormatCode.html#GrapeCity_Spreadsheet_IFormatter_FormatCode">FormatCode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the format code for this formatter.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_SectionCount" data-uid="GrapeCity.Spreadsheet.IFormatter.SectionCount">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.SectionCount.html#GrapeCity_Spreadsheet_IFormatter_SectionCount">SectionCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the total number of sections in the number format.</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_IFormatter_ContainsCurrencyFormat_System_Int32_" data-uid="GrapeCity.Spreadsheet.IFormatter.ContainsCurrencyFormat(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.ContainsCurrencyFormat.html#GrapeCity_Spreadsheet_IFormatter_ContainsCurrencyFormat_System_Int32_">ContainsCurrencyFormat(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.html">IFormatter</a> contains currency number format in the section formatter.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_ContainsDateFormat" data-uid="GrapeCity.Spreadsheet.IFormatter.ContainsDateFormat">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.ContainsDateFormat.html#GrapeCity_Spreadsheet_IFormatter_ContainsDateFormat">ContainsDateFormat()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.html">IFormatter</a> contains Day, Month or Year in the section formatter.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_ContainsDateTimeFormat" data-uid="GrapeCity.Spreadsheet.IFormatter.ContainsDateTimeFormat">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.ContainsDateTimeFormat.html#GrapeCity_Spreadsheet_IFormatter_ContainsDateTimeFormat">ContainsDateTimeFormat()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this <span class="xref">GrapeCity.Spreadsheet.Formatter</span> contains at least one Date section formatter.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_ContainsFraction" data-uid="GrapeCity.Spreadsheet.IFormatter.ContainsFraction">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.ContainsFraction.html#GrapeCity_Spreadsheet_IFormatter_ContainsFraction">ContainsFraction()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.html">IFormatter</a> contains fraction number format in the section formatter.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_ContainsGroupSeparator_System_Int32_" data-uid="GrapeCity.Spreadsheet.IFormatter.ContainsGroupSeparator(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.ContainsGroupSeparator.html#GrapeCity_Spreadsheet_IFormatter_ContainsGroupSeparator_System_Int32_">ContainsGroupSeparator(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.html">IFormatter</a> contains group separator in the section formatter.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_ContainsNumberFormat_System_Int32_" data-uid="GrapeCity.Spreadsheet.IFormatter.ContainsNumberFormat(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.ContainsNumberFormat.html#GrapeCity_Spreadsheet_IFormatter_ContainsNumberFormat_System_Int32_">ContainsNumberFormat(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.html">IFormatter</a> contains number format in the section formatter.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_ContainsPercentage_System_Int32_" data-uid="GrapeCity.Spreadsheet.IFormatter.ContainsPercentage(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.ContainsPercentage.html#GrapeCity_Spreadsheet_IFormatter_ContainsPercentage_System_Int32_">ContainsPercentage(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.html">IFormatter</a> contains percentage number format in the section formatter.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_ContainsScientificFormat_System_Int32_" data-uid="GrapeCity.Spreadsheet.IFormatter.ContainsScientificFormat(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.ContainsScientificFormat.html#GrapeCity_Spreadsheet_IFormatter_ContainsScientificFormat_System_Int32_">ContainsScientificFormat(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.html">IFormatter</a> contains scientific format in the section formatter.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_ContainsTimeFormat" data-uid="GrapeCity.Spreadsheet.IFormatter.ContainsTimeFormat">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.ContainsTimeFormat.html#GrapeCity_Spreadsheet_IFormatter_ContainsTimeFormat">ContainsTimeFormat()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this <span class="xref">GrapeCity.Spreadsheet.Formatter</span> contains at least one Time section formatter.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_Format_System_Boolean_GrapeCity_Spreadsheet_FormatOptions_" data-uid="GrapeCity.Spreadsheet.IFormatter.Format(System.Boolean,GrapeCity.Spreadsheet.FormatOptions)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.Format.html#GrapeCity_Spreadsheet_IFormatter_Format_System_Boolean_GrapeCity_Spreadsheet_FormatOptions_">Format(bool, FormatOptions)</a>
        </td>
        <td class="markdown level1 summary"><p>Formats the specified boolean value to display text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_Format_System_DateTime_GrapeCity_Spreadsheet_FormatOptions_" data-uid="GrapeCity.Spreadsheet.IFormatter.Format(System.DateTime,GrapeCity.Spreadsheet.FormatOptions)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.Format.html#GrapeCity_Spreadsheet_IFormatter_Format_System_DateTime_GrapeCity_Spreadsheet_FormatOptions_">Format(DateTime, FormatOptions)</a>
        </td>
        <td class="markdown level1 summary"><p>Formats the specified date to display text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_Format_System_Double_GrapeCity_Spreadsheet_FormatOptions_" data-uid="GrapeCity.Spreadsheet.IFormatter.Format(System.Double,GrapeCity.Spreadsheet.FormatOptions)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.Format.html#GrapeCity_Spreadsheet_IFormatter_Format_System_Double_GrapeCity_Spreadsheet_FormatOptions_">Format(double, FormatOptions)</a>
        </td>
        <td class="markdown level1 summary"><p>Formats the specified number to display text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_Format_System_Object_GrapeCity_Spreadsheet_FormatOptions_" data-uid="GrapeCity.Spreadsheet.IFormatter.Format(System.Object,GrapeCity.Spreadsheet.FormatOptions)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.Format.html#GrapeCity_Spreadsheet_IFormatter_Format_System_Object_GrapeCity_Spreadsheet_FormatOptions_">Format(object, FormatOptions)</a>
        </td>
        <td class="markdown level1 summary"><p>Formats the specified object to display text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_Format_System_String_GrapeCity_Spreadsheet_FormatOptions_" data-uid="GrapeCity.Spreadsheet.IFormatter.Format(System.String,GrapeCity.Spreadsheet.FormatOptions)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.Format.html#GrapeCity_Spreadsheet_IFormatter_Format_System_String_GrapeCity_Spreadsheet_FormatOptions_">Format(string, FormatOptions)</a>
        </td>
        <td class="markdown level1 summary"><p>Formats the specified text to display text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_Format_System_TimeSpan_GrapeCity_Spreadsheet_FormatOptions_" data-uid="GrapeCity.Spreadsheet.IFormatter.Format(System.TimeSpan,GrapeCity.Spreadsheet.FormatOptions)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.Format.html#GrapeCity_Spreadsheet_IFormatter_Format_System_TimeSpan_GrapeCity_Spreadsheet_FormatOptions_">Format(TimeSpan, FormatOptions)</a>
        </td>
        <td class="markdown level1 summary"><p>Formats the specified number to display text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_GetDecimalPartLength_System_Int32_" data-uid="GrapeCity.Spreadsheet.IFormatter.GetDecimalPartLength(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.GetDecimalPartLength.html#GrapeCity_Spreadsheet_IFormatter_GetDecimalPartLength_System_Int32_">GetDecimalPartLength(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating the decimal part's length of section inside <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.html">IFormatter</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_IsDateGeneral" data-uid="GrapeCity.Spreadsheet.IFormatter.IsDateGeneral">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.IsDateGeneral.html#GrapeCity_Spreadsheet_IFormatter_IsDateGeneral">IsDateGeneral()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the current formatter is general formatter for date values.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_IsExportCustomizable" data-uid="GrapeCity.Spreadsheet.IFormatter.IsExportCustomizable">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.IsExportCustomizable.html#GrapeCity_Spreadsheet_IFormatter_IsExportCustomizable">IsExportCustomizable()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the formatter customize the exported cell value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_IsFormattedAsNumeric_System_Double_" data-uid="GrapeCity.Spreadsheet.IFormatter.IsFormattedAsNumeric(System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.IsFormattedAsNumeric.html#GrapeCity_Spreadsheet_IFormatter_IsFormattedAsNumeric_System_Double_">IsFormattedAsNumeric(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified numeric value is formatted as numeric.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_IsFormattedAsText_System_Double_" data-uid="GrapeCity.Spreadsheet.IFormatter.IsFormattedAsText(System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.IsFormattedAsText.html#GrapeCity_Spreadsheet_IFormatter_IsFormattedAsText_System_Double_">IsFormattedAsText(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified numeric value is formatted as text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_IsFormattedAsText_System_Object_" data-uid="GrapeCity.Spreadsheet.IFormatter.IsFormattedAsText(System.Object)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.IsFormattedAsText.html#GrapeCity_Spreadsheet_IFormatter_IsFormattedAsText_System_Object_">IsFormattedAsText(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified value is formatted as text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_IsFormattedColorForNegativeValues" data-uid="GrapeCity.Spreadsheet.IFormatter.IsFormattedColorForNegativeValues">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.IsFormattedColorForNegativeValues.html#GrapeCity_Spreadsheet_IFormatter_IsFormattedColorForNegativeValues">IsFormattedColorForNegativeValues()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the current formatter will format negative value with the specified color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_IsFormattedWithDBNum" data-uid="GrapeCity.Spreadsheet.IFormatter.IsFormattedWithDBNum">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.IsFormattedWithDBNum.html#GrapeCity_Spreadsheet_IFormatter_IsFormattedWithDBNum">IsFormattedWithDBNum()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the current formatter formats number with DBNum.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_IsFormattedWithParenthesesForPositiveValues" data-uid="GrapeCity.Spreadsheet.IFormatter.IsFormattedWithParenthesesForPositiveValues">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.IsFormattedWithParenthesesForPositiveValues.html#GrapeCity_Spreadsheet_IFormatter_IsFormattedWithParenthesesForPositiveValues">IsFormattedWithParenthesesForPositiveValues()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the current formatter will format positive value with the parentheses.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_IsGeneral" data-uid="GrapeCity.Spreadsheet.IFormatter.IsGeneral">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.IsGeneral.html#GrapeCity_Spreadsheet_IFormatter_IsGeneral">IsGeneral()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the current formatter is general formatter.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_Parse_System_String_GrapeCity_Spreadsheet_NumberFormatConvertMode_" data-uid="GrapeCity.Spreadsheet.IFormatter.Parse(System.String,GrapeCity.Spreadsheet.NumberFormatConvertMode)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.Parse.html#GrapeCity_Spreadsheet_IFormatter_Parse_System_String_GrapeCity_Spreadsheet_NumberFormatConvertMode_">Parse(string, NumberFormatConvertMode)</a>
        </td>
        <td class="markdown level1 summary"><p>Parses the specified format string.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IFormatter_ParseText_System_String_" data-uid="GrapeCity.Spreadsheet.IFormatter.ParseText(System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.ParseText.html#GrapeCity_Spreadsheet_IFormatter_ParseText_System_String_">ParseText(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Parse the specified text to a cell value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
