DragonFly On-Line Manual Pages
PANDA_TEXTBOX(3) PANDA_TEXTBOX(3)
NAME
panda_textbox - display some text on the PDF page specified
SYNOPSIS
#include<panda/constants.h>
#include<panda/functions.h>
void panda_textbox (panda_pdf * output, panda_page * thisPage, int top, int left, int bottom, int right, char *text);
DESCRIPTION
This function call creates a textbox on the specified page, and then
displays the specified text within that page. The current font mode and
style et cetera will be used.
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_textbox (demo, currPage, 20 + (lineDepth * 20), 200, 40 + (lineDepth * 20), 400, "Demonstration of a text mode");
SEE ALSO
panda_createfont, panda_setfont, panda_panda_setfontsize,
panda_getfontobj, panda_setfontmode, panda_setcharacterspacing,
panda_setwordspacing, panda_sethorizontalscaling, panda_setleading,
panda_textboxrot
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_TEXTBOX(3)