ImageThemingUtilities.ModifyPixelCallback Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Callback used to modify pixel data in a BitmapSource.
public: delegate bool ImageThemingUtilities::ModifyPixelCallback(BitmapSource ^ originalSource, System::Byte* pixels);
public delegate bool ImageThemingUtilities.ModifyPixelCallback(BitmapSource originalSource, byte* pixels);
type ImageThemingUtilities.ModifyPixelCallback = delegate of BitmapSource * nativeptr<byte> -> bool
Public Delegate Function ImageThemingUtilities.ModifyPixelCallback(originalSource As BitmapSource, pixels As Byte*) As Boolean
Parameters
- originalSource
- BitmapSource
The BitmapSource whose pixels are being modified.
- pixels
- Byte*
The Bgra32 pixel values from the BitmapSource
Return Value
True if the bitmap was modified, false if no change were made.