Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Loads a PDF document from data in container.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Preview | 13.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
PreviewRef | The reference ID for this preview control. | $ref |
ContainerValue | The container value (variable or field) to read the PDF from. | MyTable::MyPDFContainer |
Returns OK or error.
Load preview:
Set Variable [ $r ; Value: MBS( "Preview.LoadContainer"; $$preview; PDF Viewer::PDF Container ) ]
If [ MBS("IsError") ]
Show Custom Dialog [ "Failed to load container" ; $r ]
End If
This function checks for a license.
Created 12nd June 2023, last changed 29th June 2023