THPDFMovieOperation Type
Selects the /Operation of a movie action that controls a screen or movie annotation (v2.121.0 PDF 1.7 ยง12.6.4.15 Table 209)
Declaration
THPDFMovieOperation= (moPlay, // /Operation /Play
moStop, // /Operation /Stop
moPause, // /Operation /Pause
moResume); // /Operation /Resume
Unit
HPDFDoc
Values
| Value | Meaning |
|---|---|
moPlay | /Operation /Play: start playing the movie from the beginning |
moStop | /Operation /Stop: stop playback |
moPause | /Operation /Pause: pause playback at the current frame |
moResume | /Operation /Resume: resume paused playback |
Usage notes
- Pass a value of this type to THPDFActionBuilder.Movie or to THPDFPage.AddPushButtonWithMovieAction; both default to moPlay when the parameter is omitted
- The value is written verbatim as the /Operation name of the movie action dictionary, so the string written to the file is Play, Stop, Pause, or Resume
- Combine with a movie annotation reference to build pushbuttons that act as playback controls