Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

DynaPDF.SetMetadata

The function sets or replaces the XMP metadata stream of a specific object.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 5.2 Yes Yes Yes Yes Yes

MBS( "DynaPDF.SetMetadata"; PDF; ObjType; Handle; XMP )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
ObjType The object type. Can be Catalog, Font, Image, Page or Template. "Catalog"
Handle Object handle or -1 for the catalog object. -1
XMP The XMP metadata as text.

Result

Returns OK or error.

Description

The function sets or replaces the XMP metadata stream of a specific object.
The function deletes the XMP stream if no buffer will be provided.
If the global XMP stream of the Catalog object should be replaced then proceed as follows:

The above steps make sure that the XMP metadata and document info contain the same values. This is especially important for PDF standards like PDF/A or PDF/X. DynaPDF makes sure that the creation and modification date will not be changed when closing the file.

See also SetMetadata function in DynaPDF manual.

See also


DynaPDF.SetMetaConvFlags   -   DynaPDF.SetMiterLimit

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins