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: 10.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2    Statistic    FMM    Blog  


Returns the hex encoded value of the container.

Component Version macOS Windows Linux Server iOS SDK License
Container 6.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes Paid
MBS( "Container.GetHex"; Container; Name or Index )   More


Parameter Description Example
Container The container field or value to inspect. MyTable::MyContainerField
Name or Index Either the name of the Type or it's index
Version 12.2 returns main item if this parameter is empty.


Returns data or error.


Returns the hex encoded value of the container.
You must tell the plug-in which of the types in the container field you want to use. You can use either it's name (JPEG, TIFF, PNGf etc) or it's index. The index is from 0 to the count of types -1 You can use Container.GetCount to return the count of types in the container.
You can pass index zero and get data form references file in case container is a file reference.


Get Container as Hex:

MBS( "Container.GetHex"; MyTable::MyContainerField )

See also

Release notes

Blog Entries

Created 30th November 2016, last changed 16th April 2022

Container.GetHeight - Container.GetJPEGHeight

Feedback: Report problem or ask question.

Start Chat