THPDFMovieOperation Type
Selects the /Operation of a movie action that drives 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 the movie playing from the beginning |
moStop | /Operation /Stop: bring playback to a stop |
moPause | /Operation /Pause: hold playback at the current frame |
moResume | /Operation /Resume: carry on from paused playback |
Usage notes
- Pass a value of this type to THPDFActionBuilder.Movie or to THPDFPage.AddPushButtonWithMovieAction; both fall back on 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 serve as playback controls