Skip to main content
All docs
V24.2

DXGraphics.InterpolationMode Property

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

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.2.dll

Declaration

public DXInterpolationMode InterpolationMode { get; set; }

Property Value

Type Description
DXInterpolationMode

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

Available values:

Name Description
Invalid

Invalid mode.

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.

See Also