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


Queries one embedded file as JSON object.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 10.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.GetEmbeddedFileAsJSON"; PDF; Index )   More


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Index The index of the embedded file. From 0 to DynaPDF.GetEmbeddedFileCount-1. 0


Returns JSON or error.


Queries one embedded file as JSON object.
See TPDFFileSpec structure in DynaPDF help, which we convert to JSON for you.

Keys include Buffer, BufSize, Compressed, Name, FileName, IsURL, UnicodeFileName, Description, FileSize, MIMEType, CreateDate, ModDate, CheckSum, Index.

See also GetEmbeddedFileAsJSON function in DynaPDF manual.

See also

Release notes

Blog Entries

This function checks for a license.

Created 19th September 2020, last changed 2nd September 2022

DynaPDF.GetEmbeddedFileAsContainer - DynaPDF.GetEmbeddedFileCount