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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Container.GetTypeSize
Returns the size of the indicated object type in container field.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Container | 1.3 | Yes | Yes | Yes | Yes | Yes |
Parameters
| 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" |
Description
Returns the size of the indicated object type in container field.For referenced files, this function will just return the size of the referenced file independent of the type.
See Container.GetTotalSize to query size of all data in a container.
Examples
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" )
See also
- Container.Compress
- Container.Decompress
- Container.GetSize
- Container.GetTotalSize
- Container.GetType
- Container.GetTypes
- DynaPDF.GeneratePreview
Example Databases
Blog Entries
- MBS Filemaker Plugin, version 4.5pr1
- MBS Filemaker Plugin, version 3.5pr10
- MBS Filemaker Plugin, version 3.0pr2
Created 18th August 2014, last changed 6th November 2018
Container.GetType - Container.GetTypes
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins