Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Returns the list of objects in the container field.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Container 1.3 Yes Yes Yes Yes Yes
MBS( "Container.GetTypes"; ContainerField )   More


Parameter Description Example value
ContainerField The container field or value to inspect.


Returns types or error.


Returns the list of objects in the container field.
FileMaker stores a copy of the image in the container field as a JPEG if the image is not already of that type. That is why you will always see JPEG in the list of Types, even if the image in question is a PNG. This function will have "FILE" in the list of types if the image has File inserted into it.
Some of the allowed types include "TIFF", "PDF ", "PNGf", "GIFf", "BMPf", "EPS ", "PICT", "FILE" and "JPEG".
"ZLIB" is the type used by compressed containers.

This function does not work for unencrypted external containers.


Get Types

MBS( "Container.GetTypes" ; ContainerField )

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 21st October 2017

Container.GetTypeSize   -   Container.GetWidth

Feedback: Report problem or ask question.

MBS FileMaker Plugins