Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Returns the size of the indicated object type in 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. | $container |
Type | The type code for the type to check. e.g. "JPEG" for a jpeg image. | "JPEG" |
Get size of PNG image
MBS( "Container.GetTypeSize" ; ContainerField; "PNGf" )
Get the size of a JPEG image
MBS( "Container.GetTypeSize" ; ContainerField; "JPEG" )
Get the size of a TIFF image
MBS( "Container.GetTypeSize" ; ContainerField; "TIFF" )
This function checks for a license.
Created 18th August 2014, last changed 6th November 2018