[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Effects.DpiCompensation

Class DpiCompensation

Namespace
GrapeCity.Documents.DX.Direct2D.Effects
Assembly
GcDocs.DX.Windows.dll

Builtin DpiCompensation effect.

public class DpiCompensation : Effect, IDisposable, IUnknown
Inheritance
object
DpiCompensation
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

DpiCompensation(IntPtr)

Initializes a new instance of the DpiCompensation class.

public DpiCompensation(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

BorderMode

The mode used to calculate the border of the image, soft or hard. See BorderMode modes for more info.

public BorderMode BorderMode { get; set; }

Property Value

BorderMode

InputDpi

The input dpi.

public float InputDpi { get; set; }

Property Value

float

InterpolationMode

The Dpi interpolation mode.

public DpiCompensationInterpolationMode InterpolationMode { get; set; }

Property Value

DpiCompensationInterpolationMode

Methods

Create(DeviceContext)

Initializes a new instance of DpiCompensation effect.

public static DpiCompensation Create(DeviceContext context)

Parameters

context DeviceContext

Returns

DpiCompensation