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: 10.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2    Statistic    FMM    Blog  

WebView.SetAllowsLinkPreview

Set whether to allow link previews.

Component Version macOS Windows Linux Server iOS SDK License
WebView 9.3 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes Free
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

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


WebView.SendCommand - WebView.SetAutoResizingMask

Feedback: Report problem or ask question.


Start Chat