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.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

DynaPDF.GetEmbeddedFile

Retrieves the details of an embedded file.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.GetEmbeddedFile"; PDF; Index; Selector { ; Encoding } )   More

Parameters

Parameter Description Example Flags
PDF The PDF reference returned from DynaPDF.New. $pdf
Index The index of the embedded file. From 0 to DynaPDF.GetEmbeddedFileCount-1. 0
Selector Which value to query.
Can be DataSize, FileSize, Compressed, Name, FileName, isURL, UnicodeName, Description, MimeType, CreationDate, ModificationDate or CheckSum.
With value "Content" you can query the content of the embedded file as text. Optional Text encoding parameter is used in this case.
"Name"
Encoding The text encoding for the content.
Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ.
Optional

Result

Returns value or error.

Description

Retrieves the details of an embedded file.

See also GetEmbeddedFile function in DynaPDF manual.

Examples

Query name of first file:

MBS( "DynaPDF.GetEmbeddedFile"; $pdf; 0; "name")

Query content as text in UTF-8:

MBS( "DynaPDF.GetEmbeddedFile"; $pdf; 0; "Content"; "UTF-8" )

See also

Release notes

Example Databases

Blog Entries

FileMaker Magazin

Created 11st September 2014, last changed 15th December 2015


DynaPDF.GetDynaPDFVersion - DynaPDF.GetEmbeddedFileAsContainer

Feedback: Report problem or ask question.