GetPixelFormatSize 函式 (gdipluspixelformats.h)
GetPixelFormatSize 方法會傳回指定圖元格式所使用的每個圖元位數。
語法
UINT GetPixelFormatSize(
PixelFormat pixfmt
);
參數
pixfmt
類型: PixelFormat
PixelFormat 常數,指定要測試的圖元格式。
傳回值
類型: UINT
這個方法會傳回指定圖元格式所使用的每個圖元位數。
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows Vista [僅限傳統型應用程式] |
最低支援的伺服器 | Windows Server 2008 [僅限傳統型應用程式] |
目標平台 | Windows |
標頭 | gdipluspixelformats.h (包含 Gdiplus.h) |
程式庫 | Gdiplus.lib |