THPDFPage.AddPushButtonWithSoundAction Method
方法摘要: THPDFPage.AddPushButtonWithSoundAction Method
声明
procedure AddPushButtonWithSoundAction(const FieldName, Caption: AnsiString; Rectangle : TRect; const SoundFileName : AnsiString; const SoundParams : THPDFSoundParams; Volume : Single= 1.0; Repeating : Boolean= False; Synchronous : Boolean= False; Flags : THPDFFormFieldFlags= []); overload;
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
FieldName | 辅助方法所针对的 AcroForm 字段名称或字段字典 |
Caption | 文本 |
Rectangle | 矩形 |
SoundFileName | 文件 |
SoundParams | 值: AddPushButtonWithSoundAction |
Volume | 值: AddPushButtonWithSoundAction |
Repeating | 值: AddPushButtonWithSoundAction |
Synchronous | 值: AddPushButtonWithSoundAction |
Flags | 值: AddPushButtonWithSoundAction |
返回值
不返回值
使用说明
- 调用: THPDFPage.AddPushButtonWithSoundAction
- 稳定
- 页面级更改会影响同一页面的后续操作符;临时设置不应外泄时,请保存并恢复图形状态