Class RadTextMeasurer
Inheritance
System.Object
RadTextMeasurer
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Documents.dll
Syntax
public static class RadTextMeasurer : Object
Methods
Measure(String, Double, FontFamily)
Declaration
public static BoxMeasurementInfo Measure(string text, double fontSize, FontFamily fontFamily)
Parameters
System.String
text
|
System.Double
fontSize
|
System.Windows.Media.FontFamily
fontFamily
|
Returns
BoxMeasurementInfo
|
Measure(String, Double, FontFamily, FontWeight, FontStyle)
Declaration
public static BoxMeasurementInfo Measure(string text, double fontSize, FontFamily fontFamily, FontWeight fontWeight, FontStyle fontStyle)
Parameters
System.String
text
|
System.Double
fontSize
|
System.Windows.Media.FontFamily
fontFamily
|
System.Windows.FontWeight
fontWeight
|
System.Windows.FontStyle
fontStyle
|
Returns
BoxMeasurementInfo
|
Measure(String, Span, SubStringPosition)
Declaration
public static BoxMeasurementInfo Measure(string text, Span span, SubStringPosition subStringPosition)
Parameters
System.String
text
|
Span
span
|
Telerik.Windows.Documents.Core.TextMeasurer.SubStringPosition
subStringPosition
|
Returns
BoxMeasurementInfo
|