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 used by SetSoundAnnotationParameters |
SampleRate | Input used by SetSoundAnnotationParameters |
Channels | Input used by SetSoundAnnotationParameters |
BitsPerSample | Input used by SetSoundAnnotationParameters |
Encoding | Input used by SetSoundAnnotationParameters |
IconName | PDF resource name, packet name, profile name, or caller-defined identifier |
Return value
This member does not return a value
Usage notes
- Use this API in the annotation and action 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
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak