Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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

This function checks for a license.

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


DynaPDF.GetOCGContUsage - DynaPDF.GetOCGUsageUserName