Edit

Share via


InfiniteCanvas.SaveBitmapAsync(IRandomAccessStream, BitmapFileFormat) Method

Definition

This method exports the max possible view of the InfiniteCanvas drawings as offScreen drawings that can be converted to image. Max is calculated using CanvasDevice.MaximumBitmapSizeInPixels

public System.Threading.Tasks.Task SaveBitmapAsync (Windows.Storage.Streams.IRandomAccessStream stream, Microsoft.Toolkit.Uwp.UI.Controls.BitmapFileFormat bitmapFileFormat);
member this.SaveBitmapAsync : Windows.Storage.Streams.IRandomAccessStream * Microsoft.Toolkit.Uwp.UI.Controls.BitmapFileFormat -> System.Threading.Tasks.Task
Public Function SaveBitmapAsync (stream As IRandomAccessStream, bitmapFileFormat As BitmapFileFormat) As Task

Parameters

stream
Windows.Storage.Streams.IRandomAccessStream

The target stream.

bitmapFileFormat
BitmapFileFormat

the specified format.

Returns

Task

Applies to