GetAnnotEmbeddedFileToString

Annotations and hotspot links

Description

Returns the embedded file inside the annotation object as a string.

Syntax

Delphi

Function TPDFlib.GetAnnotEmbeddedFileToString(Index, Options: Integer): AnsiString;

DLL

const char* DLGetAnnotEmbeddedFileToString(int InstanceID, int Index, int Options);

Parameters

IndexThe index of the annotation. The first annotation on the page has an index of 1.
OptionsCurrently not used. Default = 0

Return values

Returns the raw bytes of the file carried by the file-attachment annotation, or an empty string when the annotation holds no embedded file