DynaPDF.GetPageLabelCount
-------------------------

Returns the number of page labels defined in the document.

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

MBS( "DynaPDF.GetPageLabelCount"; PDF ) 

**MBS**( **"DynaPDF.GetPageLabelCount";** /\* Returns the number of page labels defined in the document. \*/  
**$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 number or error.

### Description

Returns the number of page labels defined in the document.   
See also [GetPageLabelCount](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetPageLabelCount.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.GetImageFileCount](DynaPDFGetImageFileCount.md)
- [DynaPDF.GetPageAnnotCount](DynaPDFGetPageAnnotCount.md)
- [DynaPDF.GetPageCount](DynaPDFGetPageCount.md)
- [DynaPDF.GetPageFieldCount](DynaPDFGetPageFieldCount.md)
- [DynaPDF.GetPageLabel](DynaPDFGetPageLabel.md)
- [DynaPDF.GetPageLayout](DynaPDFGetPageLayout.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetPageLayout](DynaPDFSetPageLayout.md)

This function checks for a license.

Created 6th February 2015 , last changed 9th November 2021

  
[DynaPDF.GetPageLabel](DynaPDFGetPageLabel.md) - [DynaPDF.GetPageLayout](DynaPDFGetPageLayout.md)

[HTML Version](DynaPDFGetPageLabelCount.shtml)