Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Queries input PDF metadata.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
ObjType | The object type. Can be Catalog, Font, Image, Page or Template. | "Catalog" | |
PageNum | Page number or -1 to access the global XMP stream. | -1 | Optional |
Returns text or error.
See also GetInMetadata function in DynaPDF manual.
Open PDF and get XMP metadata:
Set Variable [$pdf; Value:MBS("DynaPDF.New")]
Set Variable [$r; Value:MBS("DynaPDF.OpenPDFFromContainer"; $pdf; DynaPDF XMP::InputPDF)]
Set Field [DynaPDF XMP::XMP; MBS( "DynaPDF.GetInMetadata"; $pdf; "Catalog"; -1 )]
Set Variable [$r; Value:MBS("DynaPDF.Release"; $pdf)]
This function checks for a license.
Created 29th July 2015, last changed 31st July 2015