DynaPDF.EndPattern
------------------

Closes an open pattern.

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

MBS( "DynaPDF.EndPattern"; PDF ) 

**MBS**( **"DynaPDF.EndPattern";** /\* Closes an open pattern. \*/  
**$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

Closes an open pattern.  
You can open patterns with [DynaPDF.BeginPattern](DynaPDFBeginPattern.md) or DynaPDF.CreateStdPattern.  
See also [EndPattern](https://www.monkeybreadsoftware.com/DynaPDF-Manual/EndPattern.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.BeginPattern](DynaPDFBeginPattern.md)
- [DynaPDF.EndLayer](DynaPDFEndLayer.md)
- [DynaPDF.EndPage](DynaPDFEndPage.md)
- [DynaPDF.FindPattern](DynaPDFFindPattern.md)
- [DynaPDF.New](DynaPDFNew.md)

This function checks for a license.

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

  
[DynaPDF.EndPage](DynaPDFEndPage.md) - [DynaPDF.EndTemplate](DynaPDFEndTemplate.md)

[HTML Version](DynaPDFEndPattern.shtml)