DragonFly On-Line Manual Pages
PANDA_PAGEDURATION(3) PANDA_PAGEDURATION(3)
NAME
panda_pageduration - specify the maximum number of seconds that a page
should be displayed by the viewer before moving on
SYNOPSIS
#include<panda/constants.h>
#include<panda/functions.h>
void panda_pageduration (panda_page *target, int seconds);
DESCRIPTION
This function records information within the PDF indicating the maximum
number of seconds that the given page should be displayed within the
viewer. This is useful for presentations and the like where you might
like to automatically move onto the next page in the document at some
point. The default value for this is to never move onto the next page
automatically. If this value is changed from the default, there is
currently no way to revert back to the default later. The feature may
not be implemented by all viewers.
RETURNS
Nothing
EXAMPLE
#include<panda/constants.h>
#include<panda/functions.h>
panda_pdf *document;
panda_page *page;
panda_init();
document = panda_open("filename.pdf", "w");
page = panda_newpage (document, panda_pagesize_a4);
panda_pageduration (page, 30.5);
VERSION
This documentation was generated for Panda 0.5.2 by autodocbook
(http://www.stillhq.com).
AUTHOR
Panda is under development by Michael Still (mikal@stillhq.com). All
code is Copyright Michael Still 2000 - 2003, and is released under the
GNU GPL. Code submissions are welcomed. Contact Michael at the address
above if you have something you would like to contribute.
BUGS
There are no known bugs in Panda. If you find one, please contact
mikal@stillhq.com and let me know.
28 May 2003 PANDA_PAGEDURATION(3)