DynaPDF.GetImageContainerCount
------------------------------

Queries number of images in an image container.

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

MBS( "DynaPDF.GetImageContainerCount"; PDF ) 

**MBS**( **"DynaPDF.GetImageContainerCount";** /\* Queries number of images in an image container. \*/  
**$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

Queries number of images in an image container.  
The function determines the number of images in a multi-page image in the same way as [DynaPDF.GetImageFileCount](DynaPDFGetImageFileCount.md), but accepts a container value as input. At time of publication TIFF images are supported only.   
See also [GetImageContainerCount](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetImageCountEx.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.GetImage](DynaPDFGetImage.md)
- [DynaPDF.GetImageFileCount](DynaPDFGetImageFileCount.md)
- [DynaPDF.New](DynaPDFNew.md)

### Blog Entries

- [Top 10 from the MBS Plugin in 2022](https://www.mbsplugins.de/archive/2022-12-29/Top_10_from_the_MBS_Plugin_in_/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 12.4](https://www.mbsplugins.de/archive/2022-09-27/MBS_FileMaker_Plugin_124/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 2nd September 2022 , last changed 2nd September 2022

  
[DynaPDF.GetImage](DynaPDFGetImage.md) - [DynaPDF.GetImageCount](DynaPDFGetImageCount.md)

[HTML Version](DynaPDFGetImageContainerCount.shtml)