THPDFPage.SetSoundAnnotationParameters Method
为后续的批注和动作输出设置 sound annotation parameters 状态。该设置影响之后的页面绘制、页面字典条目、一致性元数据或文本输出,而不影响已写出的内容
声明
procedure SetSoundAnnotationParameters(Annot: THPDFDictionaryObject; SampleRate, Channels, BitsPerSample: Integer; const Encoding, IconName: AnsiString);
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
Annot | SetSoundAnnotationParameters 使用的输入 |
SampleRate | SetSoundAnnotationParameters 使用的输入 |
Channels | SetSoundAnnotationParameters 使用的输入 |
BitsPerSample | SetSoundAnnotationParameters 使用的输入 |
Encoding | SetSoundAnnotationParameters 使用的输入 |
IconName | PDF 资源名、数据包名、配置文件名或调用方定义的标识符 |
返回值
此成员不返回值
使用说明
- 在受影响的页面、资源、字段或目录对象完成之前,在注释和动作工作流中使用此 API
- 保持对象名、字段名、资源名和返回的句柄稳定,直到文档完成
- 页面级的更改会影响同一页面上之后的操作符;如果某个临时设置不应泄漏出去,请先保存图形状态,用完再恢复