# C1.Util.DX.DirectWrite.PixelSnapping

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_DirectWrite_PixelSnapping" data-uid="C1.Util.DX.DirectWrite.PixelSnapping" class="text-break">PixelSnapping Interface
</h1>
  <div class="markdown level0 summary"><p>IDWritePixelSnapping</p>
</div>
  <div class="markdown level0 conceptual"></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_PixelSnapping_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;eaf3a2da-ecf4-4d24-b644-b34f6842024b&quot;)]
[Shadow(typeof(PixelSnappingShadow))]
public interface PixelSnapping : ICallbackable, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;eaf3a2da-ecf4-4d24-b644-b34f6842024b&quot;)&gt;
&lt;Shadow(GetType(PixelSnappingShadow))&gt;
Public Interface PixelSnapping
    Inherits ICallbackable, IDisposable</code></pre>
  </div>
  <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_PixelSnapping_GetCurrentTransform_System_Object_" data-uid="C1.Util.DX.DirectWrite.PixelSnapping.GetCurrentTransform(System.Object)">
          <a class="xref" href="C1.Util.DX.DirectWrite.PixelSnapping.GetCurrentTransform.html#C1_Util_DX_DirectWrite_PixelSnapping_GetCurrentTransform_System_Object_">GetCurrentTransform(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a transform that maps abstract coordinates to DIPs.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_PixelSnapping_GetPixelsPerDip_System_Object_" data-uid="C1.Util.DX.DirectWrite.PixelSnapping.GetPixelsPerDip(System.Object)">
          <a class="xref" href="C1.Util.DX.DirectWrite.PixelSnapping.GetPixelsPerDip.html#C1_Util_DX_DirectWrite_PixelSnapping_GetPixelsPerDip_System_Object_">GetPixelsPerDip(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of physical pixels per DIP.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_PixelSnapping_IsPixelSnappingDisabled_System_Object_" data-uid="C1.Util.DX.DirectWrite.PixelSnapping.IsPixelSnappingDisabled(System.Object)">
          <a class="xref" href="C1.Util.DX.DirectWrite.PixelSnapping.IsPixelSnappingDisabled.html#C1_Util_DX_DirectWrite_PixelSnapping_IsPixelSnappingDisabled_System_Object_">IsPixelSnappingDisabled(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether pixel snapping is disabled. The recommended default is FALSE,
unless doing animation that requires subpixel vertical placement.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
