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
Options0 = ข้อมูลเสียงตามที่เก็บไว้ใน PDF 1 = เข้ารหัสข้อมูลเป็นไฟล์ WAV
SoundFileNameพาธและชื่อไฟล์ที่จะสร้างเพื่อเก็บข้อมูลเสียง

ค่าที่ส่งคืน

0เขียนเสียงไม่สำเร็จ
1เขียนเสียงสำเร็จแล้ว