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.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

Created 6th July 2021, last changed 6th July 2021


QLPreviewPanel.SetEditingAllowed - QLPreviewPanel.Show

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins

Start Chat