バージョン 24.2 (最新)

GetBestFitString メソッド

境界長方形での特定の文字列の最適な収まりを返します。
シンタックス
public static string GetBestFitString( 
   string text,
   Font font,
   ref Rectangle bounds,
   StringFormat format
)

パラメータ

text
特定のテキスト文字列
font
特定のフォント
bounds
境界長方形
format
文字列の書式

戻り値の型

境界長方形での特定の文字列の最適な収まり。
参照