DynaPDF.UnLockLayer
-------------------

Removes a layer from the list of locked layers.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [5.0](newinversion50.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.UnLockLayer"; PDF ) 

**MBS**( **"DynaPDF.UnLockLayer";** /\* Removes a layer from the list of locked layers. \*/  
**$PDF**) /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |

### Result

Returns OK or error.

### Description

Removes a layer from the list of locked layers.   
See also [DynaPDF.LockLayer](DynaPDFLockLayer.md) for further information.  
See also [UnLockLayer](https://www.monkeybreadsoftware.com/DynaPDF-Manual/UnLockLayer.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.LockLayer](DynaPDFLockLayer.md)
- [DynaPDF.New](DynaPDFNew.md)

This function checks for a license.

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

  
[DynaPDF.Triangle](DynaPDFTriangle.md) - [DynaPDF.Uninitialize](DynaPDFUninitialize.md)

[HTML Version](DynaPDFUnLockLayer.shtml)