NativeWebViewContextMenuIcon(ReadOnlySpan, ReadOnlySpan) Constructor

Definition

Assembly NativeWebView.Core.dll

Initializes an icon from encoded PNG fallback data and optional UTF-8 SVG data. Backends with SVG support should prefer svgData to avoid DPI scaling artifacts.

public NativeWebViewContextMenuIcon(ReadOnlySpan<byte> pngData, ReadOnlySpan<byte> svgData)

Parameters