PHP 매뉴얼
이전 |  | 다음

# pdf_stringwidth

(PHP 3>= 3.0.6, PHP 4 , PHP 5)

pdf_stringwidth -- Returns width of text using current font

## Description

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

Returns the width of `text` using the last font set by pdf_setfont(). If the optional parameters `font` and `size` are specified, the width will be calculated using that font and size instead. Please note that `font` is a font handle returned by pdf_findfont().

> 참고: Both the `font` and `size` parameters must be used together.

See also pdf_setfont() and pdf_findfont().

이전 | 처음으로 | 다음
pdf_skew | 위로 | pdf_stroke