Enum CoreWebView2CapturePreviewImageFormat
Specifies the image format for the CapturePreviewAsync(CoreWebView2CapturePreviewImageFormat, Stream) method.
public enum CoreWebView2CapturePreviewImageFormat
  Fields
Jpeg = 1Indicates that the JPEG image format is used.
Png = 0Indicates that the PNG image format is used.