共用方式為


GrayscaleBitmapSourceConverter.Convert Method

Definition

Converts the image.

protected:
 override System::Windows::Media::Imaging::BitmapSource ^ Convert(System::Windows::Media::Imaging::BitmapSource ^ image, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
protected override System.Windows.Media.Imaging.BitmapSource Convert (System.Windows.Media.Imaging.BitmapSource image, object parameter, System.Globalization.CultureInfo culture);
override this.Convert : System.Windows.Media.Imaging.BitmapSource * obj * System.Globalization.CultureInfo -> System.Windows.Media.Imaging.BitmapSource
Protected Overrides Function Convert (image As BitmapSource, parameter As Object, culture As CultureInfo) As BitmapSource

Parameters

image
BitmapSource

The image.

parameter
Object

The parameter.

culture
CultureInfo

The culture.

Returns

The converted BitmapSource.

Applies to