# GrapeCity.ActiveReports.Rendering.Text.ITextLayoutService.GetDigitSubstitution

## Content

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



<h1 id="GrapeCity_ActiveReports_Rendering_Text_ITextLayoutService_GetDigitSubstitution_" data-uid="GrapeCity.ActiveReports.Rendering.Text.ITextLayoutService.GetDigitSubstitution*">GetDigitSubstitution Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rendering_Text_ITextLayoutService_GetDigitSubstitution_" data-uid="GrapeCity.ActiveReports.Rendering.Text.ITextLayoutService.GetDigitSubstitution*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_Text_ITextLayoutService_GetDigitSubstitution_GrapeCity_ActiveReports_Extensibility_Rendering_Components_IStyle_System_Int32__GrapeCity_ActiveReports_Drawing_StringDigitSubstituteEx__" data-uid="GrapeCity.ActiveReports.Rendering.Text.ITextLayoutService.GetDigitSubstitution(GrapeCity.ActiveReports.Extensibility.Rendering.Components.IStyle,System.Int32@,GrapeCity.ActiveReports.Drawing.StringDigitSubstituteEx@)">GetDigitSubstitution(IStyle, out int, out StringDigitSubstituteEx)</h4>
<div class="markdown level1 summary"><p>Gets or sets the language that is used when local digits are substituted for western digits.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">bool GetDigitSubstitution(IStyle style, out int language, out StringDigitSubstituteEx substitute)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Extensibility.Rendering.Components.IStyle.html">IStyle</a></td>
      <td><span class="parametername">style</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">language</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Drawing.StringDigitSubstituteEx.html">StringDigitSubstituteEx</a></td>
      <td><span class="parametername">substitute</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
