Name

InterpolationMode

Synopsis

This enumeration is used by System.Drawing.Graphics.InterpolationMode to determine how pixel colors are merged when scaling images. The higher the quality of the interpolation, the slower the rendering will be.


public enum InterpolationMode {

   Default = 0,

   Low = 1,

   High = 2,

   Bilinear = 3,

   Bicubic = 4,

   NearestNeighbor = 5,

   HighQualityBilinear = 6,

   HighQualityBicubic = 7,

   Invalid = -1

}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable, System.IConvertible) InterpolationMode

Returned By

System.Drawing.Graphics.InterpolationMode

Passed To

System.Drawing.Graphics.InterpolationMode

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.