Lire en anglais

Partager via


Image.IsCanonicalPixelFormat(PixelFormat) Méthode

Définition

Retourne une valeur qui indique si le format de pixel est 32 bits par pixel.

C#
public static bool IsCanonicalPixelFormat (System.Drawing.Imaging.PixelFormat pixfmt);

Paramètres

pixfmt
PixelFormat

PixelFormat à tester.

Retours

true si pixfmt est canonique ; sinon, false.

Remarques

Le format de pixel canonique indique un format de pixel de 32 bits par pixel. Ce format spécifie une profondeur de couleur de 24 bits et un canal alpha de 8 bits.

S’applique à

Produit Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9