THPDFPage.SetRichMediaPresentation Method
Sets rich media presentation 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 SetRichMediaPresentation(Annot: THPDFDictionaryObject; const ActivationCondition, DeactivationCondition: AnsiString; ShowToolbar, ShowNavigationUI, PassContextClick, Transparent: Boolean);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Annot | Input used by SetRichMediaPresentation |
ActivationCondition | Input used by SetRichMediaPresentation |
DeactivationCondition | Input used by SetRichMediaPresentation |
ShowToolbar | Input used by SetRichMediaPresentation |
ShowNavigationUI | Input used by SetRichMediaPresentation |
PassContextClick | Input used by SetRichMediaPresentation |
Transparent | Input used by SetRichMediaPresentation |
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