DynaPDF.GetPageMode
-------------------

The function returns the page mode that is used when opening the document with Adobe's Acrobat.

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

MBS( "DynaPDF.GetPageMode"; PDF ) 

**MBS**( **"DynaPDF.GetPageMode";** /\* The function returns the page mode that is used when opening the document with Adobe's Acrobat. \*/  
**$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 page mode or error.

### Description

The function returns the page mode that is used when opening the document with Adobe's Acrobat.  
The mode can be UseMode, UseOutlines, UseThumbs, Fullscreen, UseOC or UseAttachments.  
See also [GetPageMode](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetPageMode.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.GetPageField](DynaPDFGetPageField.md)
- [DynaPDF.GetPageLabel](DynaPDFGetPageLabel.md)
- [DynaPDF.GetPageLayout](DynaPDFGetPageLayout.md)
- [DynaPDF.GetPageNum](DynaPDFGetPageNum.md)
- [DynaPDF.GetPageWidth](DynaPDFGetPageWidth.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetPageBBox](DynaPDFSetPageBBox.md)
- [DynaPDF.SetPageCoords](DynaPDFSetPageCoords.md)
- [DynaPDF.SetPageMode](DynaPDFSetPageMode.md)
- [DynaPDF.SetPageWidth](DynaPDFSetPageWidth.md)

This function checks for a license.

Created 18th August 2014 , last changed 27th May 2017

  
[DynaPDF.GetPageLayout](DynaPDFGetPageLayout.md) - [DynaPDF.GetPageNum](DynaPDFGetPageNum.md)

[HTML Version](DynaPDFGetPageMode.shtml)