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

DynaPDF.LockLayer

Adds a layer to the list of locked layers.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 5.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.LockLayer"; PDF )   More

Parameters

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

Result

Returns OK or error.

Description

Adds a layer to the list of locked layers.
The state of a locked layer cannot be changed through the user interface of a PDF viewer. However, the state of locked layers can still be changed via Javascript or DynaPDF.SetOCGState actions.

See also LockLayer function in DynaPDF manual.

See also

This function checks for a license.

Created 6th February 2015, last changed 6th February 2015


DynaPDF.ListImages - DynaPDF.MarkTemplateAsWatermark