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()



このページでは「PHP関数リファレンス」からcpdf_stringwidthを検索した結果を表示しています。
Weblioに収録されているすべての辞書からcpdf_stringwidthを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からcpdf_stringwidth を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「cpdf_stringwidth」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS