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 when the file cannot be opened or loaded
Caught instances expose the recorded source context through the EHPDFValidationError.Location property as a THPDFValidationSourceLocation value, and the public EHPDFValidationError.CreateAt constructor attaches the same location when an application raises the exception itself
See EHPDFValidationError for the constructor, the Location property, and every source-location field