ImageThemingUtilities::ModifyPixelCallback Delegate

Visual Studio 2015
 

A callback used to modify pixel data in a BitmapSource.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Imaging (in Microsoft.VisualStudio.Imaging.dll)

public delegate bool ModifyPixelCallback(
	BitmapSource^ originalSource,
	unsigned char* pixels
)

Parameters

originalSource
Type: System.Windows.Media.Imaging::BitmapSource^

The BitmapSource whose pixels are being modified.

pixels
Type: System::Byte*

The Bgra32 pixel values from the BitmapSource.

Return Value

Type: System::Boolean

True if the bitmap was modified, false if no change were made.

Return to top
Show: