GetBitmapAsync Method

Create a WriteableBitmap with the contents of the image provider.

Namespace: Nokia.Graphics.ImagingAssembly: Nokia.Graphics.Imaging.Managed (in Nokia.Graphics.Imaging.Managed.dll) Version: (


public static IAsyncOperation<WriteableBitmap> GetBitmapAsync(
	this IImageProvider imageProvider,
	WriteableBitmap writeableBitmap,
	OutputOption outputOption
Visual Basic
Public Shared Function GetBitmapAsync ( 
	imageProvider As IImageProvider,
	writeableBitmap As WriteableBitmap,
	outputOption As OutputOption
) As IAsyncOperation(Of WriteableBitmap)
Visual C++
static IAsyncOperation<WriteableBitmap^>^ GetBitmapAsync(
	IImageProvider^ imageProvider, 
	WriteableBitmap^ writeableBitmap, 
	OutputOption outputOption
Type: Nokia.Graphics.Imaging..::..IImageProviderThe extended IImageProvider.
Type: System.Windows.Media.Imaging..::..WriteableBitmapAn input WriteableBitmap to fill.
Type: Nokia.Graphics.Imaging..::..OutputOptionSpecifies how to adjust if the source image has different aspect ratio from the bitmap passed into this method.
Return ValueType: Return ValueType: Windows.Foundation..::..IAsyncOperation<(Of <(<'WriteableBitmap>)>)>Usage NoteIn 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).

Last updated 19 June 2014

Back to top

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.