| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
DynaPDF.GetOCGUsageUserName
Returns the layer name.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| DynaPDF | 9.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.GetOCGUsageUserName"; PDF; Handle; Index ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| Handle | The OCG handle. | $OCG |
| Index | Index of the name. | 0 |
Result
Returns text or error.
Description
Returns the layer name.Returns a user name of a Content Usage dictionary that is associated with an OCG or layer.
See also GetOCGUsageUserName function in DynaPDF manual.
See also
Release notes
- Version 9.1
- Added DynaPDF.GetOCG, DynaPDF.GetOCGContUsage, DynaPDF.GetOCGCount, DynaPDF.GetOCGUsageUserName and DynaPDF.SetOCGState functions for PDF layers.
Blog Entries
This function checks for a license.
Created 18th February 2019, last changed 18th February 2019