Clipboard.GetPDF
----------------

Queries PDF in the clipboard.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Clipboard](component_Clipboard.md) | [12.2](newinversion122.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "Clipboard.GetPDF" { ; FileName } ) 

**MBS**( **"Clipboard.GetPDF";** /\* Queries PDF in the clipboard. \*/  
**$FileName**) /\* Optional; The filename to use for the container value.  
Default is clipboard.pdfe.g. "test.pdf" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| FileName | The filename to use for the container value.   Default is clipboard.pdf | "test.pdf" | Optional |

### Result

Returns container value or error.

### Description

Queries PDF in the clipboard.  
You can put result in variable or assign to a field.  
  
Returns empty value if clipboard does no contain PDF data.  
### See also

- [Clipboard.GetData](ClipboardGetData.md)
- [Clipboard.GetText](ClipboardGetText.md)
- [Clipboard.SetPDF](ClipboardSetPDF.md)

### Release notes

- **Version 13.1**
    - Added Windows support for [Clipboard.SetPDF](https://www.mbsplugins.eu/ClipboardSetPDF.shtml) and [Clipboard.GetPDF](https://www.mbsplugins.eu/ClipboardGetPDF.shtml) functions.
- **Version 12.2**
    - Added [Clipboard.GetPDF](https://www.mbsplugins.eu/ClipboardGetPDF.shtml) and [Clipboard.SetPDF](https://www.mbsplugins.eu/ClipboardSetPDF.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 13.1pr1](https://www.mbsplugins.de/archive/2023-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 12.2](https://www.mbsplugins.de/archive/2022-06-09/MBS_FileMaker_Plugin_122/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 12.2pr1](https://www.mbsplugins.de/archive/2022-04-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 15th March 2022 , last changed 20th January 2023

  
[Clipboard.GetHTMLText](ClipboardGetHTMLText.md) - [Clipboard.GetPicture](ClipboardGetPicture.md)

[HTML Version](ClipboardGetPDF.shtml)