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


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


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


Returns OK or error.


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