THPDFActionBuilder.Sound Method
Provides sound behavior for the PDF action builder workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics
Declaration
class function Sound(const SoundBytes: TBytes; const SoundParams: THPDFSoundParams; Volume: Single= 1.0; Repeating: boolean= false; Synchronous: boolean= false): THPDFActionBuilder;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
SoundBytes | Raw byte payload embedded or validated by this API |
SoundParams | Input used by Sound |
Volume | Input used by Sound |
Repeating | Input used by Sound |
Synchronous | Input used by Sound |
Return value
Returns a THPDFActionBuilder value
Usage notes
- Use this API in the PDF action builder workflow before the affected page, resource, field, or catalog object is finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized