Class RadTextMeasurer
Inheritance
System.Object
RadTextMeasurer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Documents.dll
Syntax
public static class RadTextMeasurer
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
|