Export (0) Print
Expand All

InterpolationMode Enumeration

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

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in system.drawing.dll)

public enum InterpolationMode
public enum InterpolationMode
public enum InterpolationMode

 Member nameDescription
BicubicSpecifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 25 percent of its original size. 
BilinearSpecifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 50 percent of its original size.  
DefaultSpecifies default mode. 
HighSpecifies high quality interpolation. 
HighQualityBicubicSpecifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images. 
HighQualityBilinearSpecifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking.  
InvalidEquivalent to the Invalid element of the QualityMode enumeration. 
LowSpecifies low quality interpolation. 
NearestNeighborSpecifies nearest-neighbor interpolation. 

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft