GetAnnotSoundToFile

Chú thích và liên kết điểm nóng

Mô tả

Copy dữ liệu âm thanh lưu trong chú thích chỉ định ra một file

Cú pháp

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);

Tham số

IndexChỉ số của chú thích. Chú thích đầu tiên trên trang có chỉ số 1
Options0 = Dữ liệu âm thanh giữ nguyên như trong PDF 1 = Mã hóa dữ liệu thành file WAV
SoundFileNameĐường dẫn và tên file cần tạo để chứa dữ liệu âm thanh

Giá trị trả về

0Không ghi được âm thanh
1Đã ghi âm thanh thành công