FontServiceGetTextWidth メソッド

selectAliasFontまたはselectGuessFontで選択されているフォントで文字の幅を計算する。

Definition

名前空間: AHPDFXMLReader
アセンブリ: AdcAHPDFXMLReader (in AdcAHPDFXMLReader.dll) バージョン: 2.0.0
C#
public int GetTextWidth(
	string testStr,
	double emSize
)

パラメーター

testStr  String
計算に使用する文字列
emSize  Double
計算に使用するフォントサイズ(ポイント)

戻り値

Int32
int

関連項目