# C1.Util.DX.DirectWrite.Typography

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_DirectWrite_Typography" data-uid="C1.Util.DX.DirectWrite.Typography" class="text-break">Typography Class
</h1>
  <div class="markdown level0 summary"><p>IDWriteTypography</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"><span class="xref">Typography</span></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.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_DirectWrite_Typography_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;55f1112b-1dc2-4b3c-9541-f46894ed85b6&quot;)]
public class Typography : ComObject, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;55f1112b-1dc2-4b3c-9541-f46894ed85b6&quot;)&gt;
Public Class Typography
    Inherits ComObject
    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_Typography__ctor_System_IntPtr_" data-uid="C1.Util.DX.DirectWrite.Typography.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DirectWrite.Typography.-ctor.html#C1_Util_DX_DirectWrite_Typography__ctor_System_IntPtr_">Typography(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.DirectWrite.Typography.html">Typography</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_Typography_AddFontFeature_C1_Util_DX_DirectWrite_FontFeature_" data-uid="C1.Util.DX.DirectWrite.Typography.AddFontFeature(C1.Util.DX.DirectWrite.FontFeature)">
          <a class="xref" href="C1.Util.DX.DirectWrite.Typography.AddFontFeature.html#C1_Util_DX_DirectWrite_Typography_AddFontFeature_C1_Util_DX_DirectWrite_FontFeature_">AddFontFeature(FontFeature)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDWriteTypography::AddFontFeature([In] DWRITE_FONT_FEATURE fontFeature)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_Typography_Create_C1_Util_DX_DirectWrite_Factory_" data-uid="C1.Util.DX.DirectWrite.Typography.Create(C1.Util.DX.DirectWrite.Factory)">
          <a class="xref" href="C1.Util.DX.DirectWrite.Typography.Create.html#C1_Util_DX_DirectWrite_Typography_Create_C1_Util_DX_DirectWrite_Factory_">Create(Factory)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a typography object for use in a text layout.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_Typography_GetFontFeature_System_Int32_" data-uid="C1.Util.DX.DirectWrite.Typography.GetFontFeature(System.Int32)">
          <a class="xref" href="C1.Util.DX.DirectWrite.Typography.GetFontFeature.html#C1_Util_DX_DirectWrite_Typography_GetFontFeature_System_Int32_">GetFontFeature(int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDWriteTypography::GetFontFeature([In] unsigned int fontFeatureIndex,[Out] DWRITE_FONT_FEATURE* fontFeature)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_Typography_GetFontFeatureCount" data-uid="C1.Util.DX.DirectWrite.Typography.GetFontFeatureCount">
          <a class="xref" href="C1.Util.DX.DirectWrite.Typography.GetFontFeatureCount.html#C1_Util_DX_DirectWrite_Typography_GetFontFeatureCount">GetFontFeatureCount()</a>
        </td>
        <td class="markdown level1 summary"><p>unsigned int IDWriteTypography::GetFontFeatureCount()</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_Typography_op_Explicit_System_IntPtr__C1_Util_DX_DirectWrite_Typography" data-uid="C1.Util.DX.DirectWrite.Typography.op_Explicit(System.IntPtr)~C1.Util.DX.DirectWrite.Typography">
          <a class="xref" href="C1.Util.DX.DirectWrite.Typography.op_Explicit.html#C1_Util_DX_DirectWrite_Typography_op_Explicit_System_IntPtr__C1_Util_DX_DirectWrite_Typography">explicit operator Typography(nint)</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">nint</a> to <a class="xref" href="C1.Util.DX.DirectWrite.Typography.html">Typography</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
