pdf_add_annotation PHP 3.0.12

void pdf_add_annotation(int pdfdoc, float xll, float yll, float xur, float xur, string title, string text)

 

Sets annotation (deprecated; use pdf_add_note() instead).

pdf_add_bookmark PHP 4.0.1

int pdf_add_bookmark(int pdfdoc, string text[, int parent, int open])

 

Adds bookmark for current page.

pdf_add_note PHP 4.0.5

void pdf_add_note(int pdfdoc, float llx, float lly, float urx, float ury, string contents, string title, string icon, int open)

 

Sets annotation.

pdf_add_thumbnail PHP 4.0.5

void pdf_add_thumbnail(int pdf, int image)

 

Adds an existing image as thumbnail for the current page.

pdf_arc PHP 3.0.6

void pdf_arc(int pdfdoc, float x, float y, float radius, float start, float end)

 

Draws an arc.

pdf_arcn PHP 4.0.5

void pdf_arcn(int pdf, float x, float y, float r, float alpha, float beta)

 

Draws a clockwise circular arc from alpha to beta degrees.

pdf_attach_file PHP 4.0.5

void pdf_attach_file(int pdf, float lly, float lly, float urx, float ury, string filename, string description, string author, string mimetype, string icon)

 

Adds a file attachment annotation at the rectangle specified by the lower left and upper right corners.

pdf_begin_page PHP 3.0.6

void pdf_begin_page(int pdfdoc, float width, float height)

 

Starts page.

pdf_begin_pattern PHP 4.0.5

int pdf_begin_pattern(int pdf, float width, float height, float xstep, float ystep, int painttype)

 

Start a new pattern definition.

pdf_begin_template PHP 4.0.5

int pdf_begin_template(int pdf, float width, float height)

 

Start a new template definition.

pdf_circle PHP 3.0.6

void pdf_circle(int pdfdoc, float x, float y, float radius)

 

Draws a circle.

pdf_clip PHP 3.0.6

void pdf_clip(int pdfdoc)

 

Clips to current path.

pdf_close_image PHP 3.0.7

void pdf_close_image(int pdf, int pdfimage)

 

Closes the PDF image.

pdf_close_pdi_page PHP 4.0.5

void pdf_close_pdi_page(int pdf, int page)

 

Closes the page handle and frees all page-related resources.

pdf_close_pdi PHP 4.0.5

void pdf_close_pdi(int pdf, int doc)

 

Closes all open page handles and closes the input PDF document.

pdf_close PHP 3.0.6

void pdf_close(int pdfdoc)

 

Closes the PDF document.

pdf_closepath_fill_stroke PHP 3.0.6

void pdf_closepath_fill_stroke(int pdfdoc)

 

Closes, fills, and strokes current path.

pdf_closepath_stroke PHP 3.0.6

void pdf_closepath_stroke(int pdfdoc)

 

Closes path and draws line along path.

pdf_closepath PHP 3.0.6

void pdf_closepath(int pdfdoc)

 

Closes path.

pdf_concat PHP 4.0.5

void pdf_concat(int pdf, float a, float b, float c, float d, float e, float f)

 

Concatenates a matrix to the current transformation matrix for text and graphics.

pdf_continue_text PHP 3.0.6

void pdf_continue_text(int pdfdoc, string text)

 

Outputs text in next line.

pdf_curveto PHP 3.0.6

void pdf_curveto(int pdfdoc, float x1, float y1, float x2, float y2, float x3, float y3)

 

Draws a curve.

pdf_delete PHP 4.0.5

bool pdf_delete(int pdfdoc)

 

Deletes the PDF object.

pdf_end_page PHP 3.0.6

void pdf_end_page(int pdfdoc)

 

Ends page.

pdf_end_pattern PHP 4.0.5

void pdf_end_pattern(int pdf)

 

Finishes the pattern definition.

pdf_end_template PHP 4.0.5

void pdf_end_template(int pdf)

 

Finishes the template definition.

pdf_endpath PHP 3.0.6

void pdf_endpath(int pdfdoc)

 

Ends current path.

pdf_fill_stroke PHP 3.0.6

void pdf_fill_stroke(int pdfdoc)

 

Fills and stroke current path.

pdf_fill PHP 3.0.6

void pdf_fill(int pdfdoc)

 

Fills current path.

pdf_findfont PHP 4.0.5

int pdf_findfont(int pdfdoc, string fontname, string encoding[, int embed])

 

Prepares the font fontname for later use with pdf_setfont( ).

pdf_get_buffer PHP 4.0.5

int pdf_get_buffer(int pdfdoc)

 

Fetches the full buffer containing the generated PDF data.

pdf_get_font PHP 4.0

int pdf_get_font(int pdfdoc)

 

Gets the current font.

pdf_get_fontname PHP 4.0

string pdf_get_fontname(int pdfdoc)

 

Gets the current font name.

pdf_get_fontsize PHP 4.0

float pdf_get_fontsize(int pdfdoc)

 

Gets the current font size.

pdf_get_image_height PHP 3.0.12

int pdf_get_image_height(int pdf, int pdfimage)

 

Returns the height of an image.

pdf_get_image_width PHP 3.0.12

int pdf_get_image_width(int pdf, int pdfimage)

 

Returns the width of an image.

pdf_get_majorversion PHP 4.1.0

int pdf_get_majorversion( )

 

Returns the major version number of the PDFlib.

pdf_get_minorversion PHP 4.1.0

int pdf_get_minorversion( )

 

Returns the minor version number of the PDFlib.

pdf_get_parameter PHP 4.0.1

string pdf_get_parameter(int pdfdoc, string key, mixed modifier)

 

Gets arbitrary parameters.

pdf_get_pdi_parameter PHP 4.0.5

string pdf_get_pdi_parameter(int pdf, string key, int doc, int page, int index)

 

Gets the contents of some PDI document parameter with string type.

pdf_get_pdi_value PHP 4.0.5

float pdf_get_pdi_value(int pdf, string key, int doc, int page, int index)

 

Gets the contents of some PDI document parameter with numerical type.

pdf_get_value PHP 4.0.1

float pdf_get_value(int pdfdoc, string key, float modifier)

 

Gets arbitrary value.

pdf_initgraphics PHP 4.0.5

void pdf_initgraphics(int pdf)

 

Resets all implicit color and graphics state parameters to their defaults.

pdf_lineto PHP 3.0.6

void pdf_lineto(int pdfdoc, float x, float y)

 

Draws a line.

pdf_makespotcolor PHP 4.0.5

int pdf_makespotcolor(int pdf, string spotname)

 

Makes a named spot color from the current color.

pdf_moveto PHP 3.0.6

void pdf_moveto(int pdfdoc, float x, float y)

 

Sets current point.

pdf_new PHP 4.0.5

int pdf_new( )

 

Creates a new PDF object.

pdf_open_ccitt PHP 4.0.5

int pdf_open_ccitt(int pdf, string filename, int width, int height, int bitreverse, int k, int blackls1)

 

Opens an image file with raw CCITT G3 or G4 compressed bitmap data.

pdf_open_file PHP 4.0.5

int pdf_open_file(int pdfdoc[, char filename])

 

Opens a new PDF document; if filename is NULL, document is created in memory.

pdf_open_gif PHP 3.0.7

int pdf_open_gif(int pdf, string giffile)

 

Opens a GIF file and returns an image for placement in a PDF document.

pdf_open_image_file PHP 3 CVS Only

int pdf_open_image_file(int pdf, string type, string file, string stringparam, int intparam)

 

Opens an image file of the given type and returns an image for placement in a PDF document.

pdf_open_image PHP 4.0.5

int pdf_open_image(int pdf, string type, string source, string data, long length, int width, int height, int components, int bpc, string params)

 

Opens an image of the given type and returns an image for placement in a PDF document.

pdf_open_jpeg PHP 3.0.7

int pdf_open_jpeg(int pdf, string jpegfile)

 

Opens a JPEG file and returns an image for placement in a PDF document.

pdf_open_memory_image PHP 3.0.10

int pdf_open_memory_image(int pdf, int image)

 

Takes an GD image and returns an image for placement in a PDF document.

pdf_open_pdi_page PHP 4.0.5

int pdf_open_pdi_page(int pdf, int doc, int page, string label)

 

Prepares a page for later use with pdf_place_image( ).

pdf_open_pdi PHP 4.0.5

int pdf_open_pdi(int pdf, string filename, string stringparam, int intparam)

 

Opens an existing PDF document and prepare it for later use.

pdf_open_png PHP 4.0

int pdf_open_png(int pdf, string pngfile)

 

Opens a PNG file and returns an image for placement in a PDF document.

pdf_open_tiff PHP 4.0

int pdf_open_tiff(int pdf, string tifffile)

 

Opens a TIFF file and returns an image for placement in a PDF document.

pdf_open PHP 3.0.6

int pdf_open([int filedesc])

 

Opens a new PDF document (deprecated; use pdf_new() and pdf_open_file() instead).

pdf_place_image PHP 3.0.7

void pdf_place_image(int pdf, int pdfimage, float x, float y, float scale)

 

Places image in the PDF document.

pdf_place_pdi_page PHP 4.0.6

void pdf_place_pdi_page(int pdf, int page, float x, float y, float sx, float sy)

 

Places a PDF page with lower left corner at x, y and scales it.

pdf_rect PHP 3.0.6

void pdf_rect(int pdfdoc, float x, float y, float width, float height)

 

Draws a rectangle.

pdf_restore PHP 3.0.6

void pdf_restore(int pdfdoc)

 

Restores formerly saved environment.

pdf_rotate PHP 3.0.6

void pdf_rotate(int pdfdoc, float angle)

 

Sets rotation.

pdf_save PHP 3.0.6

void pdf_save(int pdfdoc)

 

Saves current environment.

pdf_scale PHP 3.0.6

void pdf_scale(int pdfdoc, float x_scale, float y_scale)

 

Sets scaling.

pdf_set_border_color PHP 3.0.12

void pdf_set_border_color(int pdfdoc, float red, float green, float blue)

 

Sets color of box surrounding annotations and links.

pdf_set_border_dash PHP 4.0.1

void pdf_set_border_dash(int pdfdoc, float black, float white)

 

Sets the border dash style of annotations and links.

pdf_set_border_style PHP 3.0.12

void pdf_set_border_style(int pdfdoc, string style, float width)

 

Sets style of box surrounding annotations and links.

pdf_set_char_spacing PHP 3.0.6

void pdf_set_char_spacing(int pdfdoc, float space)

 

Sets character spacing.

pdf_set_duration PHP 3.0.6

void pdf_set_duration(int pdfdoc, float duration)

 

Sets duration between pages.

pdf_set_font PHP 3.0.6

void pdf_set_font(int pdfdoc, string font, float size, string encoding[, int embed])

 

Selects the current font face, size, and encoding.

pdf_set_horiz_scaling PHP 3.0.6

void pdf_set_horiz_scaling(int pdfdoc, float scale)

 

Sets horizontal scaling of text.

pdf_set_info_author PHP 3.0.6

bool pdf_set_info_author(int pdfdoc, string author)

 

Fills the author field of the document.

pdf_set_info_creator PHP 3.0.6

bool pdf_set_info_creator(int pdfdoc, string creator)

 

Fills the creator field of the document.

pdf_set_info_keywords PHP 3.0.6

bool pdf_set_info_keywords(int pdfdoc, string keywords)

 

Fills the keywords field of the document.

pdf_set_info_subject PHP 3.0.6

bool pdf_set_info_subject(int pdfdoc, string subject)

 

Fills the subject field of the document.

pdf_set_info_title PHP 3.0.6

bool pdf_set_info_title(int pdfdoc, string title)

 

Fills the title field of the document.

pdf_set_info PHP 4.0.1

bool pdf_set_info(int pdfdoc, string fieldname, string value)

 

Fills an information field of the document.

pdf_set_leading PHP 3.0.6

void pdf_set_leading(int pdfdoc, float distance)

 

Sets distance between text lines.

pdf_set_parameter PHP 4.0

void pdf_set_parameter(int pdfdoc, string key, string value)

 

Sets arbitrary parameters.

pdf_set_text_pos PHP 3.0.6

void pdf_set_text_pos(int pdfdoc, float x, float y)

 

Sets the position of text for the next pdf_show() call.

pdf_set_text_rendering PHP 3.0.6

void pdf_set_text_rendering(int pdfdoc, int mode)

 

Determines how text is rendered.

pdf_set_text_rise PHP 3.0.6

void pdf_set_text_rise(int pdfdoc, float value)

 

Sets the text rise.

pdf_set_value PHP 4.0.1

void pdf_set_value(int pdfdoc, string key, float value)

 

Sets arbitrary value.

pdf_set_word_spacing PHP 3.0.6

void pdf_set_word_spacing(int pdfdoc, float space)

 

Sets spacing between words.

pdf_setcolor PHP 4.0.5

void pdf_setcolor(int pdf, string type, string colorspace, float c1[, float c2[, float c3[, float c4]]])

 

Sets the current color space and color.

pdf_setdash PHP 3.0.6

void pdf_setdash(int pdfdoc, float black, float white)

 

Sets dash pattern.

pdf_setflat PHP 3.0.6

void pdf_setflat(int pdfdoc, float value)

 

Sets flatness.

pdf_setfont PHP 4.0.5

void pdf_setfont(int pdfdoc, int font, float fontsize)

 

Sets the current font in the given fontsize.

pdf_setgray_fill PHP 3.0.6

void pdf_setgray_fill(int pdfdoc, float value)

 

Sets filling color to gray value.

pdf_setgray_stroke PHP 3.0.6

void pdf_setgray_stroke(int pdfdoc, float value)

 

Sets drawing color to gray value.

pdf_setgray PHP 3.0.6

void pdf_setgray(int pdfdoc, float value)

 

Sets drawing and filling color to gray value.

pdf_setlinecap PHP 3.0.6

void pdf_setlinecap(int pdfdoc, int value)

 

Sets line cap parameter.

pdf_setlinejoin PHP 3.0.6

void pdf_setlinejoin(int pdfdoc, int value)

 

Sets line join parameter.

pdf_setlinewidth PHP 3.0.6

void pdf_setlinewidth(int pdfdoc, float width)

 

Sets line width.

pdf_setmatrix PHP 4.0.5

void pdf_setmatrix(int pdf, float a, float b, float c, float d, float e, float f)

 

Sets the current transformation matrix.

pdf_setmiterlimit PHP 3.0.6

void pdf_setmiterlimit(int pdfdoc, float value)

 

Sets miter limit.

pdf_setpolydash PHP 4.0.5

void pdf_setpolydash(int pdfdoc, float darray)

 

Sets more complicated dash pattern.

pdf_setrgbcolor_fill PHP 3.0.6

void pdf_setrgbcolor_fill(int pdfdoc, float red, float green, float blue)

 

Sets filling color to RGB color value.

pdf_setrgbcolor_stroke PHP 3.0.6

void pdf_setrgbcolor_stroke(int pdfdoc, float red, float green, float blue)

 

Sets drawing color to RGB color value.

pdf_setrgbcolor PHP 3.0.6

void pdf_setrgbcolor(int pdfdoc, float red, float green, float blue)

 

Sets drawing and filling color to RGB color value.

pdf_show_boxed PHP 4.0

int pdf_show_boxed(int pdfdoc, string text, float x_koor, float y_koor, float width, float height, string mode[, string feature])

 

Outputs text formatted in a boxed.

pdf_show_xy PHP 3.0.6

void pdf_show_xy(int pdfdoc, string text, float x_koor, float y_koor)

 

Outputs text at position.

pdf_show PHP 3.0.6

void pdf_show(int pdfdoc, string text)

 

Outputs text at current position.

pdf_skew PHP 4.0

void pdf_skew(int pdfdoc, float xangle, float yangle)

 

Skews the coordinate system.

pdf_stringwidth PHP 3.0.6

float pdf_stringwidth(int pdfdoc, string text[, int font, float size])

 

Returns width of text in current font.

pdf_stroke PHP 3.0.6

void pdf_stroke(int pdfdoc)

 

Draws line along path.

pdf_translate PHP 3.0.6

void pdf_translate(int pdfdoc, float x, float y)

 

Sets origin of coordinate system.