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:

Lumia.Imaging.ImageProviderExtensions.GetBitmapAsync = function(imageProvider, writeableBitmap, outputOption);


Type: Lumia.Imaging.IImageProvider
The extended IImageProvider.
Type: Windows.UI.Xaml.Media.Imaging.WriteableBitmap
The WriteableBitmap to fill.
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).

Lumia Imaging SDK

Supported in: 2.0