Click or drag to resize
RadTextMeasurerMeasure Method (String, Double, FontFamily, FontWeight, FontStyle)

Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Documents (in Telerik.Windows.Documents.dll) Version: 2017.3.1018.40 (2017.3.1018.40)
Syntax
public static BoxMeasurementInfo Measure(
	string text,
	double fontSize,
	FontFamily fontFamily,
	FontWeight fontWeight,
	FontStyle fontStyle
)

Parameters

text
Type: SystemString
fontSize
Type: SystemDouble
fontFamily
Type: System.Windows.MediaFontFamily
fontWeight
Type: System.WindowsFontWeight
fontStyle
Type: System.WindowsFontStyle

Return Value

Type: BoxMeasurementInfo
See Also