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
Sets whether editing is allowed.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
QuickLook | 11.1 | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Editable | Pass 1 to enable or 0 to disable. | 1 |
Returns OK or error.
Enable editing:
MBS( "QLPreviewPanel.SetEditingAllowed"; 1 )
Show panel to edit PDF document in container:
Set Variable [ $r ; Value: MBS( "QLPreviewPanel.Clear" ) ]
Set Variable [ $r ; Value: MBS( "QLPreviewPanel.AddContainer"; MyTable::PDFContainer ) ]
Set Variable [ $r ; Value: MBS( "QLPreviewPanel.SetDismissTrigger"; Get(FileName); "Dismissed" ) ]
Set Variable [ $r ; Value: MBS( "QLPreviewPanel.SetEditingAllowed"; 2) ]
Set Variable [ $r ; Value: MBS( "QLPreviewPanel.Show" ) ]
Created 18th February 2021, last changed 18th February 2021
QLPreviewPanel.SetDismissTrigger - QLPreviewPanel.SetSharingAllowed
Feedback: Report problem or ask question.