SetDocumentMetadataA

Document properties

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetDocumentMetadata and string arguments are interpreted using the current SetAnsiMode code page

Set's the document metadata. The metadata must be a valid XMP string, see Adobe's website for XMP documentation

Syntax

Delphi

Function DLSetDocumentMetadataA(InstanceID: Integer; XMP: PAnsiChar): Integer;

DLL

int DLSetDocumentMetadataA(int InstanceID, const char * XMP);

Parameters

XMPThe XMP metadata

Return values

This function always returns 1