ImageAttributes::SetNoOp 方法 (gdiplusimageattributes.h)

ImageAttributes::SetNoOp方法會關閉指定類別的色彩調整。 您可以呼叫 ImageAttributes::ClearNoOp ,以恢復呼叫 ImageAttributes::SetNoOp之前已就緒的色彩調整設定。

語法

Status SetNoOp(
  [in, optional] ColorAdjustType type
);

參數

[in, optional] type

類型: ColorAdjustType

ColorAdjustType列舉的元素,指定關閉色彩校正的類別。 預設值為 ColorAdjustTypeDefault

傳回值

類型: 狀態

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

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

需求

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

另請參閱

點陣圖

ColorAdjustType

映像

ImageAttributes

ImageAttributes::ClearNoOp

ImageAttributes::Reset

ImageAttributes::SetToIdentity

中繼檔

重新著色