GetAnnotSoundToString
Annotations and hotspot links
Description
Returns the sound data stored in the specified annotation.
Syntax
Delphi
Function TPDFlib.GetAnnotSoundToString(Index, Options: Integer): AnsiString;
DLL
const char* DLGetAnnotSoundToString(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 | 0 = Sound data as stored in the PDF 1 = Encode data as a WAV file |
Return values
Returns the bytes of the sound stream carried by the annotation, or an empty string when the annotation holds no sound