cpdf_stringwidthとは? わかりやすく解説

Weblio 辞書 > コンピュータ > PHP関数リファレンス > cpdf_stringwidthの意味・解説 

cpdf_stringwidth

(PHP 4, PHP 5 <= 5.0.5)
cpdf_stringwidth — 現在のフォントのテキストの幅を返す

説明

float cpdf_stringwidth ( int pdf_document, string text )
文字列 text の幅を返します。
この関数は、フォントがあらかじめ設定されている必要があります。

パラメータ

pdf_document
cpdf_open() が返す、ドキュメントのハンドル。
text
テキストを表す文字列。

返り値

text の幅を返します。

参考

cpdf_set_font()




英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「cpdf_stringwidth」の関連用語

cpdf_stringwidthのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



cpdf_stringwidthのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
PHP Documentation GroupPHP Documentation Group
Copyright © 1997 - 2026 by the PHP Documentation Group.

©2026 GRAS Group, Inc.RSS