.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "PANDA_PAGEDURATION" "3" "28 May 2003" "" ""
.SH NAME
panda_pageduration \- specify the maximum number of seconds that a page should be displayed by the viewer before moving on
.SH SYNOPSIS
.nf
#include<panda/constants.h>
#include<panda/functions.h>
void panda_pageduration (panda_page *target, int seconds);
.fi
.SH "DESCRIPTION"
.PP
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.
.SH "RETURNS"
.PP
Nothing
.SH "EXAMPLE"
.nf
#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);
.fi
.SH "VERSION"
.PP
This documentation was generated for \fBPanda\fR 0.5.2 by \fBautodocbook\fR (http://www.stillhq.com).
.SH "AUTHOR"
.PP
\fBPanda\fR 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.
.SH "BUGS"
.PP
There are no known bugs in \fBPanda\fR. If you find one, please contact mikal@stillhq.com and let me know.