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
Options0 = 按 PDF 中存储的方式处理声音数据 1 = 将数据编码为 WAV 文件
SoundFileName要创建的、包含声音数据的文件路径和名称

返回值

0无法写入声音
1声音已成功写入