GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PANDA_TEXTANNOTATION(3) PANDA_TEXTANNOTATION(3)

panda_textannotation - draw a text annotation which looks like a sticky note onto a page

 #include<panda/constants.h>
 #include<panda/functions.h>
 void panda_textannotation(panda_pdf *document, panda_page *page, int open,
 char *text, int top, int left, int bottom, int right,
 int icon, int flags);

This function inserts a text annotation onto one of the pages in your PDF document. The open arguement defines whether the text annotation initially appears with the text visible (the open state) or not. The possible values for the icon arguement are: panda_icon_comment; panda_icon_help; panda_icon_insert; panda_icon_key; panda_icon_newparagraph; panda_icon_note; panda_icon_paragraph. The possible values for the flags arguement are: panda_annotationflag_invisible; panda_annotationflag_hidden; panda_annotationflag_print; panda_annotationflag_nozoom; panda_annotationflag_norotate; panda_annotationflag_noview; panda_annotationflag_readonly -- the values for this arguement may by OR'ed together if needed.

Nothing

 #include<panda/constants.h>
 #include<panda/functions.h>
 panda_pdf *demo;
 panda_page *currPage;
 panda_init();
 if ((demo = panda_open ("output.pdf", "w")) == NULL)
 panda_error (panda_true, "demo: could not open output.pdf to write to.");
 currPage = panda_newpage (demo, panda_pagesize_a4);
 panda_textannotation(demo, currPage, panda_true, "Hello", 10, 10, 50, 50,
 panda_icon_comment, 0);

panda_freetextannotation, panda_insertannotation

This documentation was generated for Panda 0.5.2 by autodocbook (http://www.stillhq.com).

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.

There are no known bugs in Panda. If you find one, please contact mikal@stillhq.com and let me know.
28 May 2003

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.