GetAnnotEmbeddedFileToFile

Annotations and hotspot links

Description

Saves the embedded file inside the annotation object to the specified file on disk.

Syntax

Delphi

function TPDFlib.GetAnnotEmbeddedFileToFile(Index, Options: Integer; Const FileName: WideString): Integer;

ActiveX

Function PDFlib::GetAnnotEmbeddedFileToFile(Index As Long, Options As Long, FileName As String) As Long

DLL

int DLGetAnnotEmbeddedFileToFile(int InstanceID, int Index, int Options, wchar_t * FileName);

Parameters

IndexThe index of the annotation. The first annotation on the page has an index of 1. Currently not used. Default = 0
Options
FileNameThe filename of where to save the file