ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct2D.Effects Namespace / BitmapSource Class / EnableDpiCorrection Property

In This Topic
    EnableDpiCorrection Property
    In This Topic
    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.
    Syntax
    'Declaration
     
    Public Property EnableDpiCorrection As Boolean
    public bool EnableDpiCorrection {get; set;}
    See Also