PeachDrawing.Win2D.Win2dComposer

Win2dComposer.SaveAsync(Stream, Win2dImageFormat) Method

Writes the finished bitmap to destination as an image file. The stream is left open.

public System.Threading.Tasks.Task SaveAsync(System.IO.Stream destination, PeachDrawing.Win2D.Win2dImageFormat format=PeachDrawing.Win2D.Win2dImageFormat.Png);

Parameters

destination System.IO.Stream

where to write

format Win2dImageFormat

the file format

Returns

System.Threading.Tasks.Task