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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.GetOCGCount
Returns the number of OCGs or layers which are available in document.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 9.1 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. |
Result
Returns count or error.
Description
Returns the number of OCGs or layers which are available in document.See also GetOCGCount function in DynaPDF manual.
Examples
Query count of layers:
Set Variable [ $count ; Value: MBS ( "DynaPDF.GetOCGCount" ; $pdf ) ]
See also
- DynaPDF.GetAnnotCount
- DynaPDF.GetCMapCount
- DynaPDF.GetContent
- DynaPDF.GetFieldCount
- DynaPDF.GetFontCount
- DynaPDF.GetImageCount
- DynaPDF.GetPageCount
- DynaPDF.GetTemplCount
- DynaPDF.New
- DynaPDF.SetOCGState
Blog Entries
Release notes
- Version 9.1
- Added DynaPDF.GetOCG, DynaPDF.GetOCGContUsage, DynaPDF.GetOCGCount, DynaPDF.GetOCGUsageUserName and DynaPDF.SetOCGState functions for PDF layers.
Created 18th February 2019, last changed 18th February 2019
DynaPDF.GetOCGContUsage - DynaPDF.GetOCGUsageUserName
Feedback: Report problem or ask question.
Links
MBS FileMaker tutorial videos