GrayscaleImageConverter.Convert Method (BitmapSource, Object, CultureInfo)
Microsoft internal use only.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Protected Overrides Function Convert ( _
inputImage As BitmapSource, _
parameter As Object, _
culture As CultureInfo _
) As Image
protected override Image Convert(
BitmapSource inputImage,
Object parameter,
CultureInfo culture
)
protected:
virtual Image^ Convert(
BitmapSource^ inputImage,
Object^ parameter,
CultureInfo^ culture
) override
abstract Convert :
inputImage:BitmapSource *
parameter:Object *
culture:CultureInfo -> Image
override Convert :
inputImage:BitmapSource *
parameter:Object *
culture:CultureInfo -> Image
protected override function Convert(
inputImage : BitmapSource,
parameter : Object,
culture : CultureInfo
) : Image
Parameters
- inputImage
Type: System.Windows.Media.Imaging.BitmapSource
parameter
Type: System.ObjectIf set to a Color, it will be used to bias the final image
- culture
Type: System.Globalization.CultureInfo
Return Value
Type: System.Windows.Controls.Image
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.