Graphics::GetInterpolationMode method (gdiplusgraphics.h)

The Graphics::GetInterpolationMode method gets the interpolation mode currently set for this Graphics object. The interpolation mode determines the algorithm that is used when images are scaled or rotated.

Syntax

InterpolationMode GetInterpolationMode();

Return value

Type: InterpolationMode

This method returns an element of the InterpolationMode enumeration that indicates the interpolation mode currently set for this Graphics object.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusgraphics.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Graphics

Graphics::SetInterpolationMode

InterpolationMode

Using Interpolation Mode to Control Image Quality During Scaling