Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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 ) ]
This function checks for a license.
Created 18th February 2019, last changed 18th February 2019