Image.IsAlphaPixelFormat(PixelFormat) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個值,指示該 Image 像素格式是否包含 alpha 資訊。
public:
static bool IsAlphaPixelFormat(System::Drawing::Imaging::PixelFormat pixfmt);
public static bool IsAlphaPixelFormat(System.Drawing.Imaging.PixelFormat pixfmt);
static member IsAlphaPixelFormat : System.Drawing.Imaging.PixelFormat -> bool
Public Shared Function IsAlphaPixelFormat (pixfmt As PixelFormat) As Boolean
參數
- pixfmt
- PixelFormat
PixelFormat要測試。
傳回
true 若 pixfmt 包含 alpha 資訊;否則, false。