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

QLPreviewPanel.SetSharingAllowed

Sets whether sharing is allowed.

Component Version macOS Windows Linux Server iOS SDK
QuickLook 11.3 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "QLPreviewPanel.SetSharingAllowed"; Value )   More

Parameters

Parameter Description Example
Value Pass 1 to allow or 0 to disallow.

Result

Returns OK or error.

Description

Sets whether sharing is allowed.
By default is this enabled.

Examples

Allow sharing:

Set Variable [ $r; Value: MBS( "QLPreviewPanel.SetSharingAllowed"; 1 ) ]

Disallow sharing

Set Variable [ $r; Value: MBS( "QLPreviewPanel.SetSharingAllowed"; 0 ) ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 6th July 2021, last changed 24th August 2022


QLPreviewPanel.SetEditingAllowed - QLPreviewPanel.Show