PDF Functions
PHP provides functions that can create Adobe Portable Document Format (PDF) and Forms Data Format (FDF) content on the fly.
- pdf_set_info_author(int info, string author)
Fill the author field of the info structure
- pdf_set_info_creator(int info, string creator)
Fill the creator field of the info structure
- pdf_set_info_keywords(int info, string keywords)
Fill the keywords field of the info structure
- pdf_set_info_subject(int info, string subject)
Fill the subject field of the info structure
- pdf_set_info_title(int info, string title)
Fill the title field of the info structure
- void pdf_add_outline(int pdfdoc, string text)
Add bookmark for current page
- void pdf_arc(int pdfdoc, double x, double y, double radius, double start, double end)
Draw an arc
- void pdf_begin_page(int pdfdoc, double height, double width)
Start page
- void pdf_circle(int pdfdoc, double x, double y, double radius)
Draw a circle
- void pdf_clip(int pdfdoc)
Clip to current path
- void pdf_close(int pdfdoc)
Close the PDF document
- void pdf_closepath(int pdfdoc)
Close path
- void pdf_closepath_fill_stroke(int pdfdoc)
Close, fill, and stroke current path
- void pdf_closepath_stroke(int pdfdoc)
Closes path and draw line along path
- void pdf_continue_text(int pdfdoc, string text)
Output text in next line
- void pdf_curveto(int pdfdoc, double x1, double y1, double x2, double y2, double x3, double y3)
Draw a curve
- void pdf_end_page(int pdfdoc)
End page
- void pdf_endpath(int pdfdoc)
End current path
- void pdf_fill(int pdfdoc) ...
Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.