(PHP3 >= 3.0.8, PHP4 >= 4.0b4)
double cpdf_stringwidth (int pdf document, string text)
double cpdf_stringwidth
cpdf_stringwidth() 関数は、 文字列 text の幅を返します。 フォントがあらかじめ設定されている必要があります。
cpdf_set_font() も参照下さい。