Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

Container.GetTypes

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 )

Parameters

Parameter Description Example value
ContainerField the container field to inspect

Result

Returns types or error.

Description

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.

Examples

Get Types

MBS( "Container.GetTypes" ; ContainerField )

See also

Example Databases


Container.GetTypeSize   -   Container.GetWidth

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins