property LastLoadReport: TPdfLoadReport; // read-only
Holds the report the last LoadDocument produced, including Mode, Status, SourceByteCount, NativeErrorCode, CrossReferenceTableValid, UsedRecovery, RecoveryRoute, AuditAttempted, AuditComplete, and the offsets the bounded cross-reference audit checked (HeaderOffset, StartXrefKeywordOffset, StartXrefTargetOffset, EndOfFileMarkerOffset)
The audit counts are exposed through XrefSectionCount, XrefStreamSectionCount, XrefEntryCount, CheckedObjectOffsetCount, ConflictCount, and DamagedOffsetCount
The Issues array carries the individual findings with their severity and a TPdfLoadIssueCode from plicAuditBudgetExceeded, plicAuditReadFailure, plicEndOfFileMarkerMissing, plicTrailingDataAfterEndOfFile, plicStartXrefMissing, plicStartXrefOutOfRange, plicXrefSectionMalformed, plicXrefPreviousCycle, plicXrefSectionLimitExceeded, plicXrefEntryLimitExceeded, plicXrefObjectNumberLimitExceeded, plicXrefOffsetOutOfRange, plicXrefObjectHeaderMismatch, plicXrefStreamUnsupportedFilter, plicTrailerMissing, plicNativeLoadFailure, and plicRepairSaveFailure, counted by InformationCount, WarningCount, and ErrorCount; IssuesTruncated marks the point where the bounded audit stopped collecting and ErrorMessage carries the terminal failure text
It is what makes a successful load auditable: a file that opened only because recovery rebuilt its xref says so here, which is the signal to write a clean copy with SaveAsRepaired
Every load attempt that gets past the inactive-component check replaces the report, including failures: a failed Active:= True, which leaves the component inactive without raising, a failed file, memory or stream LoadDocument, or a failed LoadCustomDocument all leave Status set to plsFailed with the failure text in ErrorMessage, so a shared component never reports the previous document as loaded