ImageProviderExtensions::GetBitmapAsync Method (IImageProvider, WriteableBitmap, OutputOption)
Creates a WriteableBitmap with the contents of the image provider.
Namespace: Lumia.Imaging
Assembly: Lumia.Imaging.Managed (in Lumia.Imaging.Managed.dll) Version: 0.0.0.0
public: [ExtensionAttribute] static IAsyncOperation<WriteableBitmap^>^ GetBitmapAsync( IImageProvider^ imageProvider, WriteableBitmap^ writeableBitmap, OutputOption outputOption )
Parameters
- imageProvider
- Type: Lumia.Imaging::IImageProvider
The extended IImageProvider.
- writeableBitmap
- Type: Windows.UI.Xaml.Media.Imaging::WriteableBitmap
The WriteableBitmap to fill.
- outputOption
- Type: Lumia.Imaging::OutputOption
Specifies how to adjust if the source image has different aspect ratio from the bitmap passed into this method.
Return Value
Type: IAsyncOperation<WriteableBitmap>An async result with the WriteableBitmap.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IImageProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Show: