DynaPDF.GetCMapCount
--------------------

Returns the number of available CMap files.

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

MBS( "DynaPDF.GetCMapCount"; PDF ) 

**MBS**( **"DynaPDF.GetCMapCount";** /\* Returns the number of available CMap files. \*/  
**$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 available CMap files.   
This value can be used to access the header information of CMap files with DynaPDF.GetCMap.  
  
See also [GetCMapCount](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetCMapCount.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.GetAnnotCount](DynaPDFGetAnnotCount.md)
- [DynaPDF.GetFieldCount](DynaPDFGetFieldCount.md)
- [DynaPDF.GetFontCount](DynaPDFGetFontCount.md)
- [DynaPDF.GetImageCount](DynaPDFGetImageCount.md)
- [DynaPDF.GetOCGCount](DynaPDFGetOCGCount.md)
- [DynaPDF.GetPageCount](DynaPDFGetPageCount.md)
- [DynaPDF.GetTemplCount](DynaPDFGetTemplCount.md)
- [DynaPDF.New](DynaPDFNew.md)

This function checks for a license.

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

  
[DynaPDF.GetBorderStyle](DynaPDFGetBorderStyle.md) - [DynaPDF.GetCharacterSpacing](DynaPDFGetCharacterSpacing.md)

[HTML Version](DynaPDFGetCMapCount.shtml)