'Declaration 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 )
Parameters
- tm
- font
- contentText
- style
- boundWidth
- boundHeight
- reportCulture
Return Value
Number of characters fit into provided bounds