# C1.Util.DX.DirectWrite.Factory.CreateNumberSubstitution

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_DirectWrite_Factory_CreateNumberSubstitution_" data-uid="C1.Util.DX.DirectWrite.Factory.CreateNumberSubstitution*">CreateNumberSubstitution Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_DirectWrite_Factory_CreateNumberSubstitution_" data-uid="C1.Util.DX.DirectWrite.Factory.CreateNumberSubstitution*"></a>
<h4 id="C1_Util_DX_DirectWrite_Factory_CreateNumberSubstitution_C1_Util_DX_DirectWrite_NumberSubstitutionMethod_System_String_C1_Util_DX_Bool_" data-uid="C1.Util.DX.DirectWrite.Factory.CreateNumberSubstitution(C1.Util.DX.DirectWrite.NumberSubstitutionMethod,System.String,C1.Util.DX.Bool)">CreateNumberSubstitution(NumberSubstitutionMethod, string, Bool)</h4>
<div class="markdown level1 summary"><p>HRESULT IDWriteFactory::CreateNumberSubstitution([In] DWRITE_NUMBER_SUBSTITUTION_METHOD substitutionMethod,[In] const wchar_t* localeName,[In] BOOL ignoreUserOverride,[Out, Fast] IDWriteNumberSubstitution** numberSubstitution)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public NumberSubstitution CreateNumberSubstitution(NumberSubstitutionMethod substitutionMethod, string localeName, Bool ignoreUserOverride)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CreateNumberSubstitution(substitutionMethod As NumberSubstitutionMethod, localeName As String, ignoreUserOverride As Bool) As NumberSubstitution</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="C1.Util.DX.DirectWrite.NumberSubstitutionMethod.html">NumberSubstitutionMethod</a></td>
      <td><span class="parametername">substitutionMethod</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">localeName</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Bool.html">Bool</a></td>
      <td><span class="parametername">ignoreUserOverride</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="C1.Util.DX.DirectWrite.NumberSubstitution.html">NumberSubstitution</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
