GetAnnotEmbeddedFileToFileA

Annotations and hotspot links

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetAnnotEmbeddedFileToFile and string arguments are interpreted using the current SetAnsiMode code page

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

Syntax

Delphi

Function DLGetAnnotEmbeddedFileToFileA(InstanceID, Index, Options: Integer; FileName: PAnsiChar): Integer;

DLL

int DLGetAnnotEmbeddedFileToFileA(int InstanceID, int Index, int Options, const char * 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