Ανάγνωση στα Αγγλικά

Κοινή χρήση μέσω


GrayscaleBitmapSourceConverter Class

Definition

Converts an image BitmapSource into a grayscale version of the same image.

C++/WinRT
[Windows::Foundation::Metadata::WebHostHidden]
class GrayscaleBitmapSourceConverter : Microsoft::VisualStudio::PlatformUI::ValueConverter<System::Windows::Media::Imaging::BitmapSource, System::Windows::Media::Imaging::BitmapSource const &>
Inheritance
GrayscaleBitmapSourceConverter

Constructors

GrayscaleBitmapSourceConverter()

Initializes a new instance of GrayscaleBitmapSourceConverter.

Methods

Convert(BitmapSource, Object, CultureInfo)

Converts the image.

Convert(Object, Type, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
Convert(TSource, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
ConvertBack(Object, Type, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
ConvertBack(TTarget, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
ConvertCore(BitmapSource, Color)

Converts the image.

GetBiasColor(Object)

Gets the bias color.

Applies to

Προϊόν Εκδόσεις
Visual Studio SDK 2015, 2017, 2019, 2022