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: 11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5    Statistic    FMM    Blog  


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

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

DynaPDF.ChangeLinkAnnot - DynaPDF.ChangeSeparationColor

Feedback: Report problem or ask question.

Start Chat