THotPDF.GetLoadedXMPMetadata Method

Extracts the XMP metadata (Metadata) from the currently loaded PDF document and returns it as an XML string.

Declaration

function GetLoadedXMPMetadata(out AXML: AnsiString): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
AXMLAs an output parameter, used to receive the extracted XMP metadata XML string.

Return value

如果成功提取到 XMP 元数据,则返回 True;如果文档中不包含 XMP 元数据或提取失败,则返回 False

Usage notes

Related APIs