THotPDF.ReadWTPDFMetadata Method
Reads WTPDF PDF Declarations and claim metadata from the XMP stream of an independent source file
HasClaim := PDF.ReadWTPDFMetadata(SourceFile, Password, Metadata);
The method returns True when a reuse or accessibility declaration is present and raises EHPDFValidationError with source context if the file cannot be opened or loaded
A caught instance exposes the recorded source context through the EHPDFValidationError.Location property as a THPDFValidationSourceLocation value, and the public EHPDFValidationError.CreateAt constructor attaches that same location when an application raises the exception itself
See EHPDFValidationError for the constructor, the Location property and every source-location field