GetAnnotEmbeddedFileName
Annotations and hotspot links
Description
Returns the filename of the embedded attachment that is stored in this annotation object
Syntax
Delphi
Function TPDFlib.GetAnnotEmbeddedFileName(Index, Options: Integer): WideString;
ActiveX
Function PDFlib::GetAnnotEmbeddedFileName(Index As Long, Options As Long) As String
DLL
const wchar_t* DLGetAnnotEmbeddedFileName(int InstanceID, int Index, int Options);
const char* DLGetAnnotEmbeddedFileNameA(int InstanceID, int Index, int Options);
Parameters
| Index | The index of the annotation. The first annotation on the page has an index of 1. |
|---|---|
| Options | Currently not used. Default = 0 |
Return values
Returns the name of the file carried by the file-attachment annotation, or an empty string when the annotation holds no embedded file