VisualDiagnostics.CaptureAsJpegAsync 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.
Overloads
CaptureAsJpegAsync(IView, Int32) | |
CaptureAsJpegAsync(IWindow, Int32) |
CaptureAsJpegAsync(IView, Int32)
- Source:
- VisualDiagnostics.cs
- Source:
- VisualDiagnostics.cs
public static System.Threading.Tasks.Task<byte[]?> CaptureAsJpegAsync (Microsoft.Maui.IView view, int quality = 80);
static member CaptureAsJpegAsync : Microsoft.Maui.IView * int -> System.Threading.Tasks.Task<byte[]>
Public Shared Function CaptureAsJpegAsync (view As IView, Optional quality As Integer = 80) As Task(Of Byte())
Parameters
- view
- IView
- quality
- Int32
Returns
Applies to
CaptureAsJpegAsync(IWindow, Int32)
- Source:
- VisualDiagnostics.cs
- Source:
- VisualDiagnostics.cs
public static System.Threading.Tasks.Task<byte[]?> CaptureAsJpegAsync (Microsoft.Maui.IWindow window, int quality = 80);
static member CaptureAsJpegAsync : Microsoft.Maui.IWindow * int -> System.Threading.Tasks.Task<byte[]>
Public Shared Function CaptureAsJpegAsync (window As IWindow, Optional quality As Integer = 80) As Task(Of Byte())
Parameters
- window
- IWindow
- quality
- Int32