Back to Devexpress

DXGraphics.InterpolationMode Property

corelibraries-devexpress-dot-drawing-dot-dxgraphics-3ce14532.md

latest1.9 KB
Original Source

DXGraphics.InterpolationMode Property

Gets or sets the interpolation mode associated with the DXGraphics object.

Namespace : DevExpress.Drawing

Assembly : DevExpress.Drawing.v25.2.dll

NuGet Package : DevExpress.Drawing

Declaration

csharp
public DXInterpolationMode InterpolationMode { get; set; }
vb
Public Property InterpolationMode As DXInterpolationMode

Property Value

TypeDescription
DXInterpolationMode

An enumeration value that indicates how to calculate intermediate values between two endpoints.

|

Available values:

NameDescription
Default

Default mode.

| | Low |

Low quality interpolation.

| | High |

High quality interpolation.

| | Bilinear |

Bilinear interpolation. No pre-filter. This mode is not suitable for shrinking an image below 50 percent of its original size.

| | Bicubic |

Bicubic interpolation. No pre-filter. This mode is not suitable for shrinking an image below 25 percent of its original size.

| | NearestNeighbor |

Nearest-neighbor interpolation.

| | HighQualityBilinear |

High-quality, bilinear interpolation. Pre-filter is applied to ensure high-quality shrinking.

| | HighQualityBicubic |

High-quality bicubic interpolation. Pre-filter is applied to ensure high-quality shrinking. This mode produces the highest quality transformed images.

| | Invalid |

Invalid mode.

|

See Also

DXGraphics Class

DXGraphics Members

DevExpress.Drawing Namespace