THPDFPage.SetSoundAnnotationParameters Method
Sets sound annotation parameters state for subsequent annotation and action output. The setting affects later page drawing, page dictionary entries, conformance metadata or text emission rather than already-written content
Declaration
procedure SetSoundAnnotationParameters(Annot: THPDFDictionaryObject; SampleRate, Channels, BitsPerSample: Integer; const Encoding, IconName: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Annot | Input supplied to SetSoundAnnotationParameters |
SampleRate | Input supplied to SetSoundAnnotationParameters |
Channels | Input supplied to SetSoundAnnotationParameters |
BitsPerSample | Input supplied to SetSoundAnnotationParameters |
Encoding | Input supplied to SetSoundAnnotationParameters |
IconName | PDF resource name, packet name, profile name, or caller-defined identifier |
Return value
This member returns no value
Usage notes
- Use this API in the annotation and action workflow before the affected page, resource, field or catalogue object is finalised
- Keep object names, field names, resource names and returned handles stable until the document is finalised
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak