VisualDiagnostics.CaptureAsJpegAsync Method

Definition

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

Task<Byte[]>

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

Returns

Task<Byte[]>

Applies to