Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Container.GetSize

Returns the size of the container.

Component Version macOS Windows Linux Server iOS SDK
Container 1.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Container.GetSize"; Container; Type )   More

Parameters

Parameter Description Example
Container The container field or value to inspect.
Type Name or index

Description

Returns the size of the container.
A container contains several data parts with data and this function queries size in bytes of one of them.
You must pass either the name of the type you wish to get or its index. Index start at 0.

See Container.GetTotalSize to query size of all data in a container.

Examples

Query size of container with PNG:

MBS("Container.GetSize"; Images::Image; "PNGf")

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 6th November 2018


Container.GetResolution - Container.GetText