PDFKit.Release
--------------

Releases a PDF reference.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [PDFKit](component_PDFKit.md) | [2.1](newinversion21.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |

MBS( "PDFKit.Release"; PDFReference ) 

**MBS**( **"PDFKit.Release";** /\* Releases a PDF reference. \*/  
**$PDFReference**) /\* A number referencing a PDF you opened before. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDFReference | A number referencing a PDF you opened before. |  |

### Result

Returns OK on success. Do no longer use the reference number after this call as the object has been freed and accessing it again can crash your application.

### Description

Releases a PDF reference.  
### Examples

Release the PDF reference in variable ref

 MBS ("PDFKit.Release"; $ref )  
### See also

- [PDFKit.allowsCopying](PDFKitallowsCopying.md)
- [PDFKit.allowsPrinting](PDFKitallowsPrinting.md)
- [PDFKit.List](PDFKitList.md)
- [PDFKit.OpenContainer](PDFKitOpenContainer.md)
- [PDFKit.ReleaseAll](PDFKitReleaseAll.md)
- [PDFKit.SetPDFAttribute](PDFKitSetPDFAttribute.md)
- [PDFKit.SetPDFPageDisplayAnnotation](PDFKitSetPDFPageDisplayAnnotation.md)
- [PDFKit.SetPDFPageRotation](PDFKitSetPDFPageRotation.md)
- [PDFKit.Watermark](PDFKitWatermark.md)
- [PDFKit.WriteToPath](PDFKitWriteToPath.md)

### Release notes

- **Version 10.5**
    - Added [AVExport.ReleaseAll](https://www.mbsplugins.eu/AVExportReleaseAll.shtml), [AVRecorder.ReleaseAll](https://www.mbsplugins.eu/AVRecorderReleaseAll.shtml), [CoreML.ReleaseAll](https://www.mbsplugins.eu/CoreMLReleaseAll.shtml), [DNSLookup.ReleaseAll](https://www.mbsplugins.eu/DNSLookupReleaseAll.shtml), [Dictionary.ReleaseAll](https://www.mbsplugins.eu/DictionaryReleaseAll.shtml), [FM.SQL.ReleaseAll](https://www.mbsplugins.eu/FMSQLReleaseAll.shtml), [JS.ReleaseAll](https://www.mbsplugins.eu/JSReleaseAll.shtml), [JavaScript.ReleaseAll](https://www.mbsplugins.eu/JavaScriptReleaseAll.shtml), [LDAP.ReleaseAll](https://www.mbsplugins.eu/LDAPReleaseAll.shtml), [PDFKit.ReleaseAll](https://www.mbsplugins.eu/PDFKitReleaseAll.shtml), [PKCS12.ReleaseAll](https://www.mbsplugins.eu/PKCS12ReleaseAll.shtml), [PKCS7.ReleaseAll](https://www.mbsplugins.eu/PKCS7ReleaseAll.shtml), [PKey.ReleaseAll](https://www.mbsplugins.eu/PKeyReleaseAll.shtml), [SSH.ReleaseAll](https://www.mbsplugins.eu/SSHReleaseAll.shtml), [WinSendMail.ReleaseAll](https://www.mbsplugins.eu/WinSendMailReleaseAll.shtml), [WindowsML.ReleaseAll](https://www.mbsplugins.eu/WindowsMLReleaseAll.shtml), [WordFile.ReleaseAll](https://www.mbsplugins.eu/WordFileReleaseAll.shtml), and [X509.ReleaseAll](https://www.mbsplugins.eu/X509ReleaseAll.shtml).

### Example Databases

- [Mac and iOS/PDFKit/Combine PDFs](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/Combine%20PDFs.shtml#1ScriptAnchor_)
- [Mac and iOS/PDFKit/Encrypt PDF](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/Encrypt%20PDF.shtml#3ScriptAnchor_)
- [Mac and iOS/PDFKit/Merge PDF](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/Merge%20PDF.shtml#2ScriptAnchor_)
- [Mac and iOS/PDFKit/PDF Merge Shrink Tool](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/PDF%20Merge%20Shrink%20Tool.shtml#16ScriptAnchor_)
- [Mac and iOS/PDFKit/PDFKit Page Selector](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/PDFKit%20Page%20Selector.shtml#1ScriptAnchor_)
- [Mac and iOS/PDFKit/PDFKit Print Documents](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/PDFKit%20Print%20Documents.shtml#1ScriptAnchor_)
- [Mac and iOS/PDFKit/PDFKit Print](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/PDFKit%20Print.shtml#3ScriptAnchor_)
- [Mac and iOS/PDFKit/Pictures to PDF](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/Pictures%20to%20PDF.shtml#7ScriptAnchor_)
- [Mac and iOS/PDFKit/Split](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/Split.shtml#1ScriptAnchor_)
- [Mac and iOS/PDFKit/Watermark PDF Page](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/Watermark%20PDF%20Page.shtml#1ScriptAnchor_)

### Blog Entries

- [PDFKit on iOS for MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2017-11-30/PDFKit_on_iOS_for_MBS_FileMake/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 5.5pr1](https://www.mbsplugins.de/archive/2015-12-09/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 2.2pr4](https://www.mbsplugins.de/archive/2010-11-15/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 1/2026, Seite 30](https://filemaker-magazin.de/neuigkeit/4312-Die-neue-Ausgabe-FMM_202601-steht-online)
- [Ausgabe 1/2026, Seite 26 bis 28](https://filemaker-magazin.de/neuigkeit/4312-Die-neue-Ausgabe-FMM_202601-steht-online)
- [Ausgabe 6/2022, Seite 15](https://filemaker-magazin.de/neuigkeit/4206-Appetithappen-FMM_202206)
- [Ausgabe 6/2017, Seite 26](https://filemaker-magazin.de/neuigkeit/3967-Appetithappen-FMM_201706)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[PDFKit.Print](PDFKitPrint.md) - [PDFKit.ReleaseAll](PDFKitReleaseAll.md)

[HTML Version](PDFKitRelease.shtml)