IScreenshotResult.CopyToAsync(Stream, ScreenshotFormat, Int32) 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.
public System.Threading.Tasks.Task CopyToAsync (System.IO.Stream destination, Microsoft.Maui.Media.ScreenshotFormat format = Microsoft.Maui.Media.ScreenshotFormat.Png, int quality = 100);
abstract member CopyToAsync : System.IO.Stream * Microsoft.Maui.Media.ScreenshotFormat * int -> System.Threading.Tasks.Task
Public Function CopyToAsync (destination As Stream, Optional format As ScreenshotFormat = Microsoft.Maui.Media.ScreenshotFormat.Png, Optional quality As Integer = 100) As Task
Parameters
- format
- ScreenshotFormat
The image format used to copy this screenshot.
Returns
A Task object with the current status of the asynchronous operation.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.