©
本文檔使用 php中文網手册 發布
(PHP 4, PECL pdflib >= 1.0.0)
PDF_set_parameter — Set string parameter
$p
, string $key
, string $value
)
Sets some PDFlib parameter with string type. 成功时返回 TRUE
, 或者在失败时返回 FALSE
。
[#1] phillip at formstar dot com [2000-10-10 23:12:33]
Here is a list of keywords and possible values:
"compress" | '[0-9]'
"resourcefile" Free string
"FontAFM" Free string
"FontPFM" Free string
"FontOutline" Free string
"Encoding" Free string
"debug" Free string (if 'c' is 1st char, compress off)
"nodebug" Free string (if 'c' is 1st char, compress on)
"compatibility" | '1.2' | '1.3'
"prefix" Free string
"warning"
"binding"
"flush" |'none' | 'page' | 'content' | 'heavy'
"pagewidth" | float for pixel value |
"pageheight" | float for pixel value |
"textx" | 0 |
"texty" | 0 |
"font" | 0 |
"fontsize" | 0 |
"leading" | cur_font_size + points down |
"textrise"
"horizscaling"
"textrendering"
"charspacing"
"wordspacing"
"underline" | 'true' | 'false'
"overline" | 'true' | 'false'
"strikeout" | 'true' | 'false'
"fontname" | 0 - 256 |
"capheight" | 0 - 256 |
"ascender" | 0 - 256 |
"descender" | 0 - 256 |
"currentx" | 0 |
"currenty" | 0 |
"fillrule" |'winding'|'evenodd'
"imagewidth" | image file descriptor: > 0, < 256 |
"imageheight" | image file descriptor: > 0, < 256 |
"resx" | image file descriptor: > 0, < 256 |
"resy" | image file descriptor: > 0, < 256 |
"openaction" |'retain'|'fitpage'|'fitbbox'|'fitwidth'|'fitheight'
"transition"
"duration"
[#2] max at cnsys dot bg [2000-07-06 09:01:14]
About parameters and all about PDF functions you can find at: www.pdflib.com - get the latest version of pdflib with documentation