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
Returns the number of OCGs or layers which are available in document.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 9.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. |
Returns count or error.
See also GetOCGCount function in DynaPDF manual.
Query count of layers:
Set Variable [ $count ; Value: MBS ( "DynaPDF.GetOCGCount" ; $pdf ) ]
Created 18th February 2019, last changed 18th February 2019
DynaPDF.GetOCGContUsage - DynaPDF.GetOCGUsageUserName
Feedback: Report problem or ask question.