ImageCropper.SaveAsync(IRandomAccessStream, BitmapFileFormat, Boolean) 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.
Saves the cropped image to a stream with the specified format.
public System.Threading.Tasks.Task SaveAsync (Windows.Storage.Streams.IRandomAccessStream stream, Microsoft.Toolkit.Uwp.UI.Controls.BitmapFileFormat bitmapFileFormat, bool keepRectangularOutput = false);
member this.SaveAsync : Windows.Storage.Streams.IRandomAccessStream * Microsoft.Toolkit.Uwp.UI.Controls.BitmapFileFormat * bool -> System.Threading.Tasks.Task
Public Function SaveAsync (stream As IRandomAccessStream, bitmapFileFormat As BitmapFileFormat, Optional keepRectangularOutput As Boolean = false) As Task
Parameters
- stream
- Windows.Storage.Streams.IRandomAccessStream
The target stream.
- bitmapFileFormat
- BitmapFileFormat
the specified format.
- keepRectangularOutput
- Boolean
Whether to always keep rectangular output.
Returns
Task