System.Drawing.Drawing2D.InterpolationMode Enumeration

The System.Drawing.Drawing2D.InterpolationMode enumeration specifies the algorithm that is used when images are scaled or rotated.

Syntax

public enum InterpolationMode

Remarks

Documentation for this section has not yet been entered.

Members

Member NameDescription
Bicubic

Specifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 25 percent of its original size.

Bilinear

Specifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 50 percent of its original size.

Default

Specifies default mode.

High

Specifies high quality interpolation.

HighQualityBicubic

Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images.

HighQualityBilinear

Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking.

Invalid

Equivalent to the QualityMode.Invalid element of the System.Drawing.Drawing2D.QualityMode enumeration.

Low

Specifies low quality interpolation.

NearestNeighbor

Specifies nearest-neighbor interpolation.

Requirements

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0