InfiniteCanvas.SaveBitmapAsync(IRandomAccessStream, BitmapFileFormat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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