Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem