Share via


ImageThemingUtilities.ClearOptOutPixel Method

Definition

Overloads

ClearOptOutPixel(Byte*, Int32, Int32, Boolean)
ClearOptOutPixel(Byte[], Int32, Int32, Boolean)

Clears the opt-out pixel in a bitmap, making it black for a 24-bit or less bitmap and transparent for a 32-bit bitmap with transparency. Bitmaps that have a separate mask must deal with updating the mask bitmap themselves.

ClearOptOutPixel(Byte*, Int32, Int32, Boolean)

public:
 static void ClearOptOutPixel(System::Byte* pPixelBytes, int width, int height, bool isTopDownBitmap);
 static void ClearOptOutPixel(byte* pPixelBytes, int width, int height, bool isTopDownBitmap);
public static void ClearOptOutPixel (byte* pPixelBytes, int width, int height, bool isTopDownBitmap);
static member ClearOptOutPixel : nativeptr<byte> * int * int * bool -> unit

Parameters

pPixelBytes
Byte*
width
Int32
height
Int32
isTopDownBitmap
Boolean

Applies to

ClearOptOutPixel(Byte[], Int32, Int32, Boolean)

Clears the opt-out pixel in a bitmap, making it black for a 24-bit or less bitmap and transparent for a 32-bit bitmap with transparency. Bitmaps that have a separate mask must deal with updating the mask bitmap themselves.

public:
 static void ClearOptOutPixel(cli::array <System::Byte> ^ pixels, int width, int height, bool isTopDownBitmap);
public:
 static void ClearOptOutPixel(Platform::Array <byte> ^ pixels, int width, int height, bool isTopDownBitmap);
 static void ClearOptOutPixel(std::Array <byte> const & pixels, int width, int height, bool isTopDownBitmap);
public static void ClearOptOutPixel (byte[] pixels, int width, int height, bool isTopDownBitmap);
static member ClearOptOutPixel : byte[] * int * int * bool -> unit
Public Sub ClearOptOutPixel (pixels As Byte(), width As Integer, height As Integer, isTopDownBitmap As Boolean)

Parameters

pixels
Byte[]

The pixels of the bitmap

width
Int32

The width of the bitmap

height
Int32

The height of the bitmap

isTopDownBitmap
Boolean

Indicates whether the bitmap's pixels have a top-down arrangement

Applies to