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

Container.GetHex

Returns the hex encoded value of the container.

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

Parameters

Parameter Description Example Flags
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.
0 Optional

Result

Returns data or error.

Description

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.

Examples

Get Container as Hex:

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

See also

Release notes

  • Version 15.2
    • Changed Container.GetHex to have name or index parameter optional.
  • Version 12.2

Blog Entries

This function checks for a license.

Created 30th November 2016, last changed 10th April 2025


Container.GetHeight - Container.GetJPEGHeight