ImageAttributes::SetToIdentity 方法 (gdiplusimageattributes.h)

ImageAttributes::SetToIdentity方法會將指定類別的色彩調整矩陣設定為識別矩陣。

語法

Status SetToIdentity(
  [in] ColorAdjustType type
);

參數

[in] type

類型: ColorAdjustType

ColorAdjustType列舉的元素,指定色彩調整矩陣設定為身分識別的類別。 預設值為 ColorAdjustTypeDefault

傳回值

類型: 狀態

如果方法成功,它會傳回 Ok,這是 Status 列舉的元素。

如果方法失敗,它會傳回 Status 列舉的其中一個其他元素。

需求

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

另請參閱

點陣圖

ColorAdjustType

ColorMatrix

映像

ImageAttributes

中繼檔

重新著色