Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Returns the list of objects in the container field.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Container | 1.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Container | The container field or value to inspect. |
Returns types or error.
Get Types
MBS( "Container.GetTypes" ; ContainerField )
Query PDF URL if there is PDF, otherwise use picture for data URL:
Let ( [
// take it from source container field
Container = ContainerField;
// now check what's inside
types = MBS( "Container.GetTypes"; Container );
// has PDF content?
Container = If(Position(types; "PDF "; 1; 1) > 0;
// extract PDF part
MBS( "Container.ExtractStream"; ContainerField; "PDF "; "test.pdf"; "PDF " );
// otherwise use container as is
Container);
// now make URL
result = MBS("Container.GetDataURL"; Container)
];result)
This function checks for a license.
Created 18th August 2014, last changed 27th July 2021