The Server Pages
:: TSP Menu
- Home
- Authors
- Glossary
- RSS Feed

:: Servers
- CPanel
- Hosting
- Linux
- Windows

:: Webmaster
- Databases
- Design
- PHP
- Search Engines

:: Scripts
- Scripts

:: Documentation
- PHP Manual

:: Other
- Errors & Solutions
- TechPunt
- Wojjie

search for in the

PDF_get_pdi_parameter> <PDF_get_minorversion
[edit] Last updated: Sat, 12 May 2012

view this page in

PDF_get_parameter

(PHP 4 >= 4.0.1, PECL pdflib >= 1.0.0)

PDF_get_parameterGet string parameter

Description

string PDF_get_parameter ( resource $p , string $key , float $modifier )

Gets the contents of some PDFlib parameter with string type.



add a note add a note User Contributed Notes PDF_get_parameter
Christopher Jastram cej102937 11-Dec-2005 06:46
The proper keys for pdf_get_parameter and pdf_get_value are under "Parameters and Values" under "A PDFlib Quick Reference" in the PDFlib reference manual (google is your friend).

To get the font name:

$fontname = pdf_get_parameter($pdf, "fontname", 0);

To get the font size:

$size = pdf_get_value($pdf, "fontsize", 0);

 
show source | credits | sitemap | contact | advertising | mirror sites