'宣言
Public Overloads Shared Function MeasureString( _ ByVal tm As ITextMetricsProvider, _ ByVal font As FontInfo, _ ByVal contentText As String, _ ByVal style As IStyle, _ ByVal boundWidth As Single, _ ByVal boundHeight As Single, _ Optional ByVal reportCulture As CultureInfo _ ) As TextMetrics
public static TextMetrics MeasureString( ITextMetricsProvider tm, FontInfo font, string contentText, IStyle style, float boundWidth, float boundHeight, CultureInfo reportCulture )
パラメータ
- tm
- font
- contentText
- style
- boundWidth
- boundHeight
- reportCulture
戻り値の型
使用可能な境界に適合する合計文字数。