Click or drag to resize

LightningChartMeasureText Method

LightningChart .NET Help
Measure text with given font in pixels.

Namespace:  Arction.WinForms.Charting
Assembly:  Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public PointInt MeasureText(
	string text,
	Font font
)

Parameters

text
Type: SystemString
Text.
font
Type: System.DrawingFont
Font.

Return Value

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