THotPDF.GetLoadedXMPValue Method
Reads the trimmed text value of a named XMP element from the loaded document metadata packet
Declaration
function GetLoadedXMPValue(const ANamespace, APropertyName: AnsiString): AnsiString;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ANamespace | Optional XMP namespace prefix without a colon |
APropertyName | XMP element name to read |
Return value
Returns trimmed element text, or an empty string when the property is unavailable
Usage notes
- ANamespace is the XML prefix used in the XMP element name, not a namespace URI
- The lookup returns element text and does not parse attributes or nested RDF structures