Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

Container.DecodeFromHex

Decodes data from hex text into a container value.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Container 6.5 Yes Yes Yes Yes Yes

MBS( "Container.DecodeFromHex"; type; text { ; filename; DontRenderPreview } )

Parameters

Parameter Description Example value
type The type to return. Can be JPEG, TIFF, GIF, PNG, PDF or File. "JPEG"
text The text to process.
filename Optional
If filter is container, this defines the file name to use.
"test.txt"
DontRenderPreview Optional
Pass 1 to not create a JPEG with preview of first page as part of the container. (only for returning PDF)
0

Result

Returns container or error.

Description

Decodes data from hex text into a container value.
If you have a DynaPDF Pro license and DynaPDF functions initialized, this function can add previews for the PDF file on Windows and Linux. For MacOS, we make them with PDFKit.

See also

Created 30th November 2016, last changed 17th August 2018


Container.DecodeFromBase64   -   Container.Decompress

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins