DynaPDF.GetViewerPreferences
----------------------------

Queries viewer preferences.

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

MBS( "DynaPDF.GetViewerPreferences"; PDF ) 

**MBS**( **"DynaPDF.GetViewerPreferences";** /\* Queries viewer preferences. \*/  
**$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 list or error.

### Description

Queries viewer preferences.  
The plugin returns a list of the values set, e.g. "HideToolBar¶HideMenuBar¶NonFullScrUseNone".  
See DynaPDF help for list of options.  
See also [GetViewerPreferences](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetViewerPreferences.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetViewerPreferences](DynaPDFSetViewerPreferences.md)

### Release notes

- **Version 9.2**
    - Added [DynaPDF.GetViewerPreferences](http://www.mbsplugins.eu/DynaPDFGetViewerPreferences.shtml) and [DynaPDF.SetViewerPreferences](http://www.mbsplugins.eu/DynaPDFSetViewerPreferences.shtml) functions.

### Blog Entries

- [Was gibt es neues bei MBS Version 9.2](https://www.mbsplugins.de/archive/2019-07-16/Was_gibt_es_neues_bei_MBS_Vers/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 9.2pr1](https://www.mbsplugins.de/archive/2019-04-02/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 19th March 2019 , last changed 20th March 2019

  
[DynaPDF.GetUsesTransparency](DynaPDFGetUsesTransparency.md) - [DynaPDF.GetWMFDefExtent](DynaPDFGetWMFDefExtent.md)

[HTML Version](DynaPDFGetViewerPreferences.shtml)