Share via


Graphics::GetInterpolationMode 方法 (gdiplusgraphics.h)

Graphics::GetInterpolationMode方法會取得此Graphics物件目前設定的插補模式。 插補模式會決定縮放或旋轉影像時所使用的演算法。

Syntax

InterpolationMode GetInterpolationMode();

傳回值

類型: InterpolationMode

這個方法會傳回 InterpolationMode 列舉的專案,指出目前為這個 Graphics 物件設定的插補模式。

需求

   
最低支援的用戶端 Windows XP、Windows 2000 Professional [僅限傳統型應用程式]
最低支援的伺服器 Windows 2000 Server [僅限傳統型應用程式]
目標平台 Windows
標頭 gdiplusgraphics.h (包含 Gdiplus.h)
程式庫 Gdiplus.lib
Dll Gdiplus.dll

另請參閱

圖形

Graphics::SetInterpolationMode

InterpolationMode

在縮放期間使用插補模式控制影像品質