IVsUIShell5::ThemeDIBits Method (UInt32, array<Byte>^, UInt32, UInt32, Boolean, UInt32)
Visual Studio 2015
Applies theming to BGRA32 device-independent bitmap bits. The luminosity of the image is transformed so that the constant "halo" luminosity blends in with the background. This has the effect of eliminating the halo visually. The "halo" luminosity is an immutable constant, and is not calculated from the input image. Images which contain cyan (#00FFFF) in their top-right pixel are not inverted. Instead, the top-right pixel is cleared (RGBA are all set to 0) and S_OK is returned without otherwise modifying the image.
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
void ThemeDIBits( unsigned int dwBitmapLength, array<unsigned char>^ pBitmap, unsigned int dwPixelWidth, unsigned int dwPixelHeight, bool fIsTopDownBitmap, unsigned int crBackground )
Parameters
- dwBitmapLength
-
Type:
System::UInt32
The bitmap length.
- pBitmap
-
Type:
array<System::Byte>^
The array of bytes that makes up the bitmap.
- dwPixelWidth
-
Type:
System::UInt32
The pixel width.
- dwPixelHeight
-
Type:
System::UInt32
The pixel height.
- fIsTopDownBitmap
-
Type:
System::Boolean
True if this is a top-down bitmap, otherwise false.
- crBackground
-
Type:
System::UInt32
The background color.
Show: