[]
Builtin DpiCompensation effect.
public class DpiCompensation : Effect, IDisposable, IUnknown
Initializes a new instance of the DpiCompensation class.
public DpiCompensation(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
The mode used to calculate the border of the image, soft or hard. See BorderMode modes for more info.
public BorderMode BorderMode { get; set; }
The input dpi.
public float InputDpi { get; set; }
The Dpi interpolation mode.
public DpiCompensationInterpolationMode InterpolationMode { get; set; }
Initializes a new instance of DpiCompensation effect.
public static DpiCompensation Create(DeviceContext context)
context
DeviceContext