All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

Container.Export

Component: Container
Mac OS X: Works
Windows: Works

MBS( "Container.Export"; Container; Index or Type; FilePath )

Parameters

Parameter Description Example value
Container The container where the data is stored.
Index or Type Specify a type (like "JPEG", "PDF " or "PICT") or the index "JPEG"
FilePath Absolute path to store file.

Result

Returns "OK" on success or error message.

Description

Writes selected data content from a container to a file path.
For example you can write out from a TIFF image stored in the database the TIFF data itself or the preview JPEG.

Examples

Export JPEG file:

MBS("Container.Export"; Files::data; "JPEG"; GetAsText(Files::data)+".jpg")

Feedback: Report problem or ask question.