# C1.Util.DX.DirectWrite.NumberSubstitution.Create

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_DirectWrite_NumberSubstitution_Create_" data-uid="C1.Util.DX.DirectWrite.NumberSubstitution.Create*">Create Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_DirectWrite_NumberSubstitution_Create_" data-uid="C1.Util.DX.DirectWrite.NumberSubstitution.Create*"></a>
<h4 id="C1_Util_DX_DirectWrite_NumberSubstitution_Create_C1_Util_DX_DirectWrite_Factory_C1_Util_DX_DirectWrite_NumberSubstitutionMethod_System_String_System_Boolean_" data-uid="C1.Util.DX.DirectWrite.NumberSubstitution.Create(C1.Util.DX.DirectWrite.Factory,C1.Util.DX.DirectWrite.NumberSubstitutionMethod,System.String,System.Boolean)">Create(Factory, NumberSubstitutionMethod, string, bool)</h4>
<div class="markdown level1 summary"><p>Creates a number substitution object using a locale name, substitution method, and an indicator  whether to ignore user overrides (use NLS defaults for the given culture instead).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static NumberSubstitution Create(Factory factory, NumberSubstitutionMethod substitutionMethod, string localeName, bool ignoreUserOverride)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(factory As Factory, substitutionMethod As NumberSubstitutionMethod, localeName As String, ignoreUserOverride As Boolean) 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.Factory.html">Factory</a></td>
      <td><span class="parametername">factory</span></td>
      <td><p>A reference to a DirectWrite factory <a class="xref" href="C1.Util.DX.DirectWrite.Factory.html">Factory</a></p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DirectWrite.NumberSubstitutionMethod.html">NumberSubstitutionMethod</a></td>
      <td><span class="parametername">substitutionMethod</span></td>
      <td><p>A value that specifies how to apply number substitution on digits and related punctuation.</p>
</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><p>The name of the locale to be used in the numberSubstitution object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">ignoreUserOverride</span></td>
      <td><p>A Boolean flag that indicates whether to ignore user overrides.</p>
</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>
