PHP: cpdf_stringwidth - Manual

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

search for in the

cpdf_stroke cpdf_show

Last updated: Fri, 26 Jan 2007

view this page in

# cpdf_stringwidth

(PHP 3 >= 3.0.8, PHP 4, PHP 5 <= 5.0.4)

cpdf_stringwidth -- Returns width of text in current font

## Описание

float cpdf_stringwidth ( int pdf_document, string text )

Returns the width of the string in `text`.

This function requires a font to be set before.

## Список параметров

`pdf_document`

  The document handle, returned by cpdf_open().

`text`

  The text, as a string

## Возвращаемые значения

Returns the width of `text`.

## Смотрите также

cpdf_set_font()

add a note User Contributed Notes
cpdf_stringwidth
There are no user contributed notes for this page.
cpdf_stroke cpdf_show

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 09:32:46 2007 PST