ImageThemingUtilities.SetOptOutPixel Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| SetOptOutPixel(BitmapSource) |
Ajoute un marqueur qui empêchera ImageThemingUtilities. ThemeDIBits de l’image d’un contexte de dessin. Le marqueur est un pixel dans le coin supérieur droit de l’image qui a la valeur #FF00FFFF. |
| SetOptOutPixel(Byte*, Int32, Int32, Boolean) | |
| SetOptOutPixel(Byte[], Int32, Int32, Boolean) |
Définit le pixel d’annulation dans une image bitmap. |
SetOptOutPixel(BitmapSource)
Ajoute un marqueur qui empêchera ImageThemingUtilities. ThemeDIBits de l’image d’un contexte de dessin. Le marqueur est un pixel dans le coin supérieur droit de l’image qui a la valeur #FF00FFFF.
public:
static System::Windows::Media::Imaging::BitmapSource ^ SetOptOutPixel(System::Windows::Media::Imaging::BitmapSource ^ source);
public static System.Windows.Media.Imaging.BitmapSource SetOptOutPixel (System.Windows.Media.Imaging.BitmapSource source);
static member SetOptOutPixel : System.Windows.Media.Imaging.BitmapSource -> System.Windows.Media.Imaging.BitmapSource
Public Function SetOptOutPixel (source As BitmapSource) As BitmapSource
Paramètres
- source
- BitmapSource
Bitmap dont le pixel d’annulation doit être défini
Retours
S’applique à
SetOptOutPixel(Byte*, Int32, Int32, Boolean)
public:
static void SetOptOutPixel(System::Byte* pPixelBytes, int width, int height, bool isTopDownBitmap);
static void SetOptOutPixel(byte* pPixelBytes, int width, int height, bool isTopDownBitmap);
public static void SetOptOutPixel (byte* pPixelBytes, int width, int height, bool isTopDownBitmap);
static member SetOptOutPixel : nativeptr<byte> * int * int * bool -> unit
Paramètres
- pPixelBytes
- Byte*
- width
- Int32
- height
- Int32
- isTopDownBitmap
- Boolean
S’applique à
SetOptOutPixel(Byte[], Int32, Int32, Boolean)
Définit le pixel d’annulation dans une image bitmap.
public:
static void SetOptOutPixel(cli::array <System::Byte> ^ pixels, int width, int height, bool isTopDownBitmap);
public:
static void SetOptOutPixel(Platform::Array <byte> ^ pixels, int width, int height, bool isTopDownBitmap);
static void SetOptOutPixel(std::Array <byte> const & pixels, int width, int height, bool isTopDownBitmap);
public static void SetOptOutPixel (byte[] pixels, int width, int height, bool isTopDownBitmap);
static member SetOptOutPixel : byte[] * int * int * bool -> unit
Public Sub SetOptOutPixel (pixels As Byte(), width As Integer, height As Integer, isTopDownBitmap As Boolean)
Paramètres
- pixels
- Byte[]
Pixels de la bitmap
- width
- Int32
Largeur de l’image bitmap.
- height
- Int32
Hauteur de l’image bitmap
- isTopDownBitmap
- Boolean
Indique si les pixels de la bitmap ont une disposition verticale