GetAnnotSoundToFile
Annotations and hotspot links
Description
Copies the sound data stored in the specified annotation into a file.
Syntax
Delphi
function TPDFlib.GetAnnotSoundToFile(Index, Options: Integer; Const SoundFileName: WideString): Integer;ActiveX
Function PDFlib::GetAnnotSoundToFile(Index As Long, Options As Long, SoundFileName As String) As LongDLL
int DLGetAnnotSoundToFile(int InstanceID, int Index, int Options, wchar_t * SoundFileName);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 |
| SoundFileName | The path and name of the file to create containing the sound data. |
Return values
| 0 | The sound could not be written |
|---|---|
| 1 | The sound was written successfully |