# C1.Util.DX.DirectWrite.Factory1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_DirectWrite_Factory1" data-uid="C1.Util.DX.DirectWrite.Factory1" class="text-break">Factory1 Class
</h1>
  <div class="markdown level0 summary"><p>IDWriteFactory1</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Util.DX.DisposeBase.html">DisposeBase</a></div>
    <div class="level2"><a class="xref" href="C1.Util.DX.CppObject.html">CppObject</a></div>
    <div class="level3"><a class="xref" href="C1.Util.DX.ComObject.html">ComObject</a></div>
    <div class="level4"><a class="xref" href="C1.Util.DX.DirectWrite.Factory.html">Factory</a></div>
    <div class="level5"><span class="xref">Factory1</span></div>
      <div class="level6"><a class="xref" href="C1.Util.DX.DirectWrite.Factory2.html">Factory2</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="C1.Util.DX.IUnknown.html">IUnknown</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.DirectWrite.html">C1.Util.DX.DirectWrite</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.DX.4.6.2.dll</h6>
  <h5 id="C1_Util_DX_DirectWrite_Factory1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;30572f99-dac6-41db-a16e-0486307e606a&quot;)]
public class Factory1 : Factory, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;30572f99-dac6-41db-a16e-0486307e606a&quot;)&gt;
Public Class Factory1
    Inherits Factory
    Implements IDisposable, IUnknown</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_DirectWrite_Factory1__ctor_System_IntPtr_" data-uid="C1.Util.DX.DirectWrite.Factory1.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DirectWrite.Factory1.-ctor.html#C1_Util_DX_DirectWrite_Factory1__ctor_System_IntPtr_">Factory1(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.DirectWrite.Factory1.html">Factory1</a> class.</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="C1_Util_DX_DirectWrite_Factory1_Create_C1_Util_DX_DirectWrite_FactoryType_" data-uid="C1.Util.DX.DirectWrite.Factory1.Create(C1.Util.DX.DirectWrite.FactoryType)">
          <a class="xref" href="C1.Util.DX.DirectWrite.Factory1.Create.html#C1_Util_DX_DirectWrite_Factory1_Create_C1_Util_DX_DirectWrite_FactoryType_">Create(FactoryType)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of the <a class="xref" href="C1.Util.DX.DirectWrite.Factory1.html">Factory1</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_Factory1_CreateCustomRenderingParams1_System_Single_System_Single_System_Single_System_Single_C1_Util_DX_DirectWrite_PixelGeometry_C1_Util_DX_DirectWrite_RenderingMode_" data-uid="C1.Util.DX.DirectWrite.Factory1.CreateCustomRenderingParams1(System.Single,System.Single,System.Single,System.Single,C1.Util.DX.DirectWrite.PixelGeometry,C1.Util.DX.DirectWrite.RenderingMode)">
          <a class="xref" href="C1.Util.DX.DirectWrite.Factory1.CreateCustomRenderingParams1.html#C1_Util_DX_DirectWrite_Factory1_CreateCustomRenderingParams1_System_Single_System_Single_System_Single_System_Single_C1_Util_DX_DirectWrite_PixelGeometry_C1_Util_DX_DirectWrite_RenderingMode_">CreateCustomRenderingParams1(float, float, float, float, PixelGeometry, RenderingMode)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDWriteFactory1::CreateCustomRenderingParams([In] float gamma,[In] float enhancedContrast,[In] float enhancedContrastGrayscale,[In] float clearTypeLevel,[In] DWRITE_PIXEL_GEOMETRY pixelGeometry,[In] DWRITE_RENDERING_MODE renderingMode,[Out] IDWriteRenderingParams1** renderingParams)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_Factory1_GetEudcFontCollection_System_Boolean_" data-uid="C1.Util.DX.DirectWrite.Factory1.GetEudcFontCollection(System.Boolean)">
          <a class="xref" href="C1.Util.DX.DirectWrite.Factory1.GetEudcFontCollection.html#C1_Util_DX_DirectWrite_Factory1_GetEudcFontCollection_System_Boolean_">GetEudcFontCollection(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDWriteFactory1::GetEudcFontCollection([out] IDWriteFontCollection **fontCollection, BOOL checkForUpdates = FALSE)</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_DirectWrite_Factory1_op_Explicit_System_IntPtr__C1_Util_DX_DirectWrite_Factory1" data-uid="C1.Util.DX.DirectWrite.Factory1.op_Explicit(System.IntPtr)~C1.Util.DX.DirectWrite.Factory1">
          <a class="xref" href="C1.Util.DX.DirectWrite.Factory1.op_Explicit.html#C1_Util_DX_DirectWrite_Factory1_op_Explicit_System_IntPtr__C1_Util_DX_DirectWrite_Factory1">explicit operator Factory1(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</a> to <a class="xref" href="C1.Util.DX.DirectWrite.Factory1.html">Factory1</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
