THPDFPage.AddPushButtonWithSoundAction Method
Method summary: THPDFPage.AddPushButtonWithSoundAction Method
Declaration
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;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FieldName | Field |
Caption | Text |
Rectangle | Rectangle |
SoundFileName | File |
SoundParams | Value: AddPushButtonWithSoundAction |
Volume | Value: AddPushButtonWithSoundAction |
Repeating | Value: AddPushButtonWithSoundAction |
Synchronous | Value: AddPushButtonWithSoundAction |
Flags | Value: AddPushButtonWithSoundAction |
Return value
Returns no value
Usage notes
- Call: THPDFPage.AddPushButtonWithSoundAction
- Stable
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak