GetDocumentPartMetadata

Document parts, variable data, metadata

Description

Returns the selected part's /DPM dictionary as PDF object syntax

Syntax

Delphi

Function TPDFlib.GetDocumentPartMetadata(PartID: Integer): AnsiString;

DLL

const char* DLGetDocumentPartMetadata(int InstanceID, int PartID);

ActiveX

Function PDFlib::GetDocumentPartMetadata(PartID As Long) As String

Parameters

PartIDPart identifier in the selected hierarchy

Return values

Returns the serialized dictionary, or an empty string when the part has no metadata or is invalid

Remarks

The DLL pointer remains owned by the library instance and follows the usual transient return-buffer lifetime

See also

SetDocumentPartMetadata