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 |
---|---|---|
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 |
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
- Container.GetCount
- Container.GetHeight
- Container.GetName
- Container.GetSize
- Container.GetText
- Container.GetType
- Container.GetTypes
- Text.EncodeToHex
Release notes
- Version 12.2
- Changed Container.GetBase64 and Container.GetHex to return main container item if no index is passed.
Blog Entries
This function checks for a license.
Created 30th November 2016, last changed 16th April 2022