GetAnnotSoundToFileA
註解與熱點連結
描述
結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 GetAnnotSoundToFile 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀
把指定註解中儲存的聲音資料複製到檔案
語法
Delphi
Function DLGetAnnotSoundToFileA(InstanceID, Index, Options: Integer; SoundFileName: PAnsiChar): Integer;
DLL
int DLGetAnnotSoundToFileA(int InstanceID, int Index, int Options, const char * SoundFileName);
參數
| Index | 註解的索引。頁面上第一個註解的索引為 1。 |
|---|---|
| Options | 0 = PDF 中原始儲存的聲音資料 1 = 將資料編碼為 WAV 檔案 |
| SoundFileName | 要建立以存放聲音資料的檔案路徑與名稱。 |
傳回值
| 0 | 無法寫出聲音 |
|---|---|
| 1 | 聲音寫出成功 |