GetAnnotSoundToFile
คำอธิบายประกอบและลิงก์ฮอตสปอต
คำอธิบาย
คัดลอกข้อมูลเสียงที่เก็บในคำอธิบายประกอบที่ระบุลงไฟล์
ไวยากรณ์
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 Long
DLL
int DLGetAnnotSoundToFile(int InstanceID, int Index, int Options, const wchar_t * SoundFileName);
พารามิเตอร์
| Index | ดัชนีของคำอธิบายประกอบ คำอธิบายประกอบแรกบนหน้ามีดัชนีเป็น 1 |
|---|---|
| Options | 0 = ข้อมูลเสียงตามที่เก็บไว้ใน PDF 1 = เข้ารหัสข้อมูลเป็นไฟล์ WAV |
| SoundFileName | พาธและชื่อไฟล์ที่จะสร้างเพื่อเก็บข้อมูลเสียง |
ค่าที่ส่งคืน
| 0 | เขียนเสียงไม่สำเร็จ |
|---|---|
| 1 | เขียนเสียงสำเร็จแล้ว |