Image.IsCanonicalPixelFormat(PixelFormat) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個值,表示像素格式是否為每像素 32 位元。
public:
static bool IsCanonicalPixelFormat(System::Drawing::Imaging::PixelFormat pixfmt);
public static bool IsCanonicalPixelFormat(System.Drawing.Imaging.PixelFormat pixfmt);
static member IsCanonicalPixelFormat : System.Drawing.Imaging.PixelFormat -> bool
Public Shared Function IsCanonicalPixelFormat (pixfmt As PixelFormat) As Boolean
參數
- pixfmt
- PixelFormat
PixelFormat要測試。
傳回
true 若 pixfmt 為典範;否則為 false。
備註
標準像素格式表示每像素 32 位元的像素格式。 此格式規定 24 位元色深及 8 位元 alpha 通道。