GetAssociatedFileEmbeddedIndex
Associated files, attachments, document inspection
Description
Maps a one-based document catalogue associated-file index to the matching one-based /EmbeddedFiles name-tree index
Syntax
Delphi
Function TPDFlib.GetAssociatedFileEmbeddedIndex(Index: Integer): Integer;ActiveX
Function PDFlib::GetAssociatedFileEmbeddedIndex(Index As Long) As LongDLL
int DLGetAssociatedFileEmbeddedIndex(int InstanceID, int Index);Parameters
| Index | One-based index into the document catalog's associated-file entries |
|---|
Return values
Returns the embedded-file index or 0 when the associated file is invalid or is not present in the name tree
Remarks
The returned index can be used with embedded-file property, extraction, association, and RichMedia APIs