Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WebView.SetAllowsLinkPreview

Set whether to allow link previews.

Component Version macOS Windows Linux Server iOS SDK
WebView 9.3 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "WebView.SetAllowsLinkPreview"; WebViewerRef; Value )   More

Parameters

Parameter Description Example
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.
Value The new value. 1

Result

Returns OK or error.

Description

Set whether to allow link previews.
A boolean value indicating whether link preview is allowed for any links inside this WebViewer.
The default value is true on Mac and iOS.

Pass 1 to allow or 0 to disallow.

See also

Release notes

Blog Entries

This function checks for a license.

Created 16th July 2019, last changed 4th November 2021


WebView.SendCommand - WebView.SetAutoResizingMask