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


Changes the name of an Optional Content Group (OCG).

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.ChangeOCGName"; PDF; Handle; Value )   More


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Handle The OCG handle number.
Value The new name. "Hello"


Returns OK or error.


Changes the name of an Optional Content Group (OCG).

See also ChangeOCGName function in DynaPDF manual.

See also

Release notes

Blog Entries

This function checks for a license.

Created 12nd June 2021, last changed 12nd June 2021

DynaPDF.ChangeNamedDest - DynaPDF.ChangeSeparationColor