THotPDF.GetLoadedFileSpecInfo Method
Method summary: THotPDF.GetLoadedFileSpecInfo Method
Declaration
function GetLoadedFileSpecInfo(Index: Integer; out AName, ADesc, AMIME: AnsiString; out ASize: Int64): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Index | Zero-based embedded-file specification index |
AName | Receives the embedded file name |
ADesc | Receives the optional file description |
AMIME | Receives the embedded stream MIME subtype |
ASize | Receives the stored embedded stream length |
Return value
Returns True when the indexed embedded-file specification is available
Usage notes
- Call GetLoadedEmbeddedFileCount to determine the valid index range
- Description, MIME subtype, and size can be empty or zero when the file specification omits them
Related APIs
- THotPDF
- THPDFPage
- Contents