DynaPDF.GetContent
------------------

Queries content stream of the currently open page or template.

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

MBS( "DynaPDF.GetContent"; PDF ) 

**MBS**( **"DynaPDF.GetContent";** /\* Queries content stream of the currently open page or template. \*/  
**$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 Text or error.

### Description

Queries content stream of the currently open page or template.   
The page or template must be open with [DynaPDF.EditPage](DynaPDFEditPage.md) or [DynaPDF.EditTemplate](DynaPDFEditTemplate.md) beforehand.   
See also [GetContent](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetContent.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.EditPage](DynaPDFEditPage.md)
- [DynaPDF.EditTemplate](DynaPDFEditTemplate.md)
- [DynaPDF.GetDescent](DynaPDFGetDescent.md)
- [DynaPDF.GetFontCount](DynaPDFGetFontCount.md)
- [DynaPDF.GetFontSize](DynaPDFGetFontSize.md)
- [DynaPDF.GetFontWeight](DynaPDFGetFontWeight.md)
- [DynaPDF.GetOCGCount](DynaPDFGetOCGCount.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetContent](DynaPDFSetContent.md)
- [DynaPDF.SetFontEx](DynaPDFSetFontEx.md)

### Release notes

- **Version 10.1**
    - Fixed bug with [DynaPDF.GetContent](https://www.mbsplugins.eu/DynaPDFGetContent.shtml) function.
- **Version 7.0**
    - Added [DynaPDF.GetContent](http://www.mbsplugins.eu/DynaPDFGetContent.shtml) and [DynaPDF.SetContent](http://www.mbsplugins.eu/DynaPDFSetContent.shtml).

### Blog Entries

- [MBS FileMaker Plugin, version 10.1pr1](https://www.mbsplugins.de/archive/2020-01-30/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 7.0pr1](https://www.mbsplugins.de/archive/2017-01-02/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 13th December 2016 , last changed 13th December 2016

  
[DynaPDF.GetCompressionLevel](DynaPDFGetCompressionLevel.md) - [DynaPDF.GetDefaultBarcodeParameters](DynaPDFGetDefaultBarcodeParameters.md)

[HTML Version](DynaPDFGetContent.shtml)