THotPDF.GetLoadedXRefType Method
Returns the cross-reference table type string of the loaded PDF document, indicating whether it uses a traditional XRef table or an XRef stream
Declaration
function GetLoadedXRefType: AnsiString;
Unit
HPDFDoc
Return value
| Name | Purpose |
|---|---|
| This member takes no explicit parameters | |
Return value
Returns an AnsiString value
Usage notes
- The XRef stream format (Stream) arrived with PDF 1.5 and may contain compressed objects; a result of 'Table' means the document stays compatible with PDF 1.4 and earlier readers
- This information is used for diagnostic and compatibility analysis and does not affect the parsing process of HotPDF
- Ensure the document has been successfully loaded before calling, otherwise returns an empty string