Click or drag to resize

ViewXYMeasureText Method

LightningChart .NET Help
Measure text with given font.

Namespace:  Arction.Wpf.ChartingMVVM.Views.ViewXY
Assembly:  Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntax
public PointInt MeasureText(
	string text,
	WpfFont font
)

Parameters

text
Type: SystemString
Text.
font
Type: Arction.Wpf.ChartingMVVMWpfFont
Font.

Return Value

Type: PointInt
Dimensions in a point structure. If unable to measure, returns (0,0).
See Also