PHP: PDF_set_parameter - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

PDF_set_text_matrix PDF_set_leading

Last updated: Fri, 26 Jan 2007

view this page in

# PDF_set_parameter

(PHP 4, PECL)

PDF_set_parameter -- Set string parameter

## Описание

bool PDF_set_parameter ( resource p, string key, string value )

Sets some PDFlib parameter with string type. Возвращает `TRUE` в случае успешного завершения или `FALSE` в случае возникновения ошибки.

add a note User Contributed Notes
PDF_set_parameter
phillip at formstar dot com
10-Oct-2000 11:12
`Here is a list of keywords and possible values:
/*
* PDF_get_parameter() and PDF_set_parameter() deal with strings,
* PDF_get_value() and PDF_set_value() deal with numerical values.
*/
/* setup */ /* value set for 3rd arg */
"compress" /* set_parameter */ | '[0-9]'
"resourcefile" /* set_parameter */ Free string
"FontAFM" /* set_parameter */ Free string
"FontPFM" /* set_parameter */ Free string
"FontOutline" /* set_parameter */ Free string
"Encoding" /* set_parameter */ Free string
"debug" /* set_parameter */ Free string (if 'c' is 1st char, compress off)
"nodebug" /* set_parameter */ Free string (if 'c' is 1st char, compress on)
"compatibility" /* set_parameter */ | '1.2' | '1.3'
"prefix" /* set_parameter */ Free string
"warning" /* set_parameter */
"binding" /* internal use only */
"flush" /* set_parameter */ |'none' | 'page' | 'content' | 'heavy'
/* page */
"pagewidth" /* set_value */ | float for pixel value |
"pageheight" /* set_value */ | float for pixel value |
/* font and text */
"textx" /* get_value */ | 0 |
"texty" /* get_value */ | 0 |
"font" /* get_value */ | 0 |
"fontsize" /* get_value */ | 0 |
"leading" /* set_value */ | cur_font_size + points down |
"textrise" /* set_value */
"horizscaling" /* set_value */
"textrendering" /* set_value */
"charspacing" /* set_value */
"wordspacing" /* set_value */
"underline" /* set_parameter */ | 'true' | 'false'
"overline" /* set_parameter */ | 'true' | 'false'
"strikeout" /* set_parameter */ | 'true' | 'false'
"fontname" /* get_parameter */ | 0 - 256 |
"capheight" /* get_value */ | 0 - 256 |
"ascender" /* get_value */ | 0 - 256 |
"descender" /* get_value */ | 0 - 256 |
/* graphics */
"currentx" /* get_value */ | 0 |
"currenty" /* get_value */ | 0 |
"fillrule" /* set_parameter */ |'winding'|'evenodd'
/* image */
"imagewidth" /* get_value */ | image file descriptor: > 0, < 256 |
"imageheight" /* get_value */ | image file descriptor: > 0, < 256 |
"resx" /* get_value */ | image file descriptor: > 0, < 256 |
"resy" /* get_value */ | image file descriptor: > 0, < 256 |
/* hypertext */
"openaction" /* set_parameter */ |'retain'|'fitpage'|'fitbbox'|'fitwidth'|'fitheight'
"transition" /* set_parameter */
"duration" /* set_value */`
max at cnsys dot bg
06-Jul-2000 09:01
`About parameters and all about PDF functions you can find at: www.pdflib.com - get the latest version of pdflib with documentation`
add a note
PDF_set_text_matrix PDF_set_leading

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST