# C1.Util.DX.Direct2D.Effects.BitmapSource.EnableDpiCorrection

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct2D_Effects_BitmapSource_EnableDpiCorrection_" data-uid="C1.Util.DX.Direct2D.Effects.BitmapSource.EnableDpiCorrection*">EnableDpiCorrection Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct2D_Effects_BitmapSource_EnableDpiCorrection_" data-uid="C1.Util.DX.Direct2D.Effects.BitmapSource.EnableDpiCorrection*"></a>
<h4 id="C1_Util_DX_Direct2D_Effects_BitmapSource_EnableDpiCorrection" data-uid="C1.Util.DX.Direct2D.Effects.BitmapSource.EnableDpiCorrection">EnableDpiCorrection</h4>
<div class="markdown level1 summary"><p>If you set this to true, the effect will scale the input image to convert the DPI reported by IWICBitmapSource to the DPI of the device context.
The effect uses the interpolation mode you set with the InterpolationMode property.
If you set this to false, the effect uses a DPI of 96.0 for the output image.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool EnableDpiCorrection { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property EnableDpiCorrection As Boolean</code></pre>
</div>
</div>
