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.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1    Statistic    FMM    Blog  

DynaPDF.GetOCGCount

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
MBS( "DynaPDF.GetOCGCount"; PDF )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf

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

Release notes

Blog Entries

Created 18th February 2019, last changed 18th February 2019


DynaPDF.GetOCGContUsage - DynaPDF.GetOCGUsageUserName

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins

Start Chat