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 supplied to SetRichMediaPresentation |
ActivationCondition | Input supplied to SetRichMediaPresentation |
DeactivationCondition | Input supplied to SetRichMediaPresentation |
ShowToolbar | Input supplied to SetRichMediaPresentation |
ShowNavigationUI | Input supplied to SetRichMediaPresentation |
PassContextClick | Input supplied to SetRichMediaPresentation |
Transparent | Input supplied to SetRichMediaPresentation |
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