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
- Container.GetName
- Container.GetText
- Container.GetTotalSize
- Container.GetType
- Container.GetTypes
- Container.GetTypeSize
- Container.GetWidth
- Container.Serialize
- DynaPDF.Optimize
- DynaPDF.SetOrientationEx
Example Databases
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 6th November 2018