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.WinForms.Documents.Layout
Assembly: Telerik.WinControls.RichTextEditor.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
|
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
|
FontFamily
fontFamily
|
FontWeight
fontWeight
|
FontStyle
fontStyle
|
Returns
BoxMeasurementInfo
|
Measure(String, Span, SubStringPosition)
Declaration
public static BoxMeasurementInfo Measure(string text, Span span, SubStringPosition subStringPosition = SubStringPosition.None)
Parameters
System.String
text
|
Span
span
|
SubStringPosition
subStringPosition
|
Returns
BoxMeasurementInfo
|