Table of Contents

Class DpiCompensationEffect

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll

Use the DPI compensation effect to automatically adjust an input bitmap to match the DPI of the context. This is useful for situations where a bitmap is created or loaded at a different DPI than the screen.

For more information, see DPI compensation effect

public sealed class DpiCompensationEffect : DeviceEffect<DpiCompensationEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IInternalImpl, IObjectRef, IIsDisposed, IDisposable
Inheritance
DpiCompensationEffect
Implements
Inherited Members
Extension Methods

Constructors

DpiCompensationEffect(IDeviceEffectFactory)