PHP 手册
上一页 |  | 下一页

# HaruPage::getTextWidth

(no version information, might be only in CVS)

HaruPage::getTextWidth -- Get the width of the text using current fontsize, character spacing and word spacing

## 说明

float HaruPage::getTextWidth ( string text )

Returns the width of the text using current fontsize, character spacing and word spacing.

## 参数

`text`

  The text to measure.

## 错误／异常

Throws HaruException on error.

## 参见

HaruPage::measureText()

上一页 | 起始页 | 下一页
HaruPage::getTextRise | 上一级 | HaruPage::getTransMatrix