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:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Checks if DynaPDF library has been initialized.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
none
Returns 1 or 0.
Initialize when needed:
#Initialize DynaPDF
If [MBS( "DynaPDF.IsInitialized" ) ≠ 1]
If [Get ( SystemPlatform ) = -3]
# iOS
Exit Script []
Else If [Get ( SystemPlatform ) = -2]
# Windows
Set Variable [$path; Value: "dynapdf.dll"]
Else
# Mac
Set Variable [$path; Value: "dynapdf.dylib"]
End If
Set Variable [$r; Value: MBS( "DynaPDF.Initialize"; $path; "12345..." )]
If [$r ≠ "OK"]
Show Custom Dialog [ "DynaPDF failed to initialize"; $r]
End If
End If
Created 18th August 2014, last changed 18th December 2015
DynaPDF.IsEmptyPage - DynaPDF.Lab
Feedback: Report problem or ask question.