Click or drag to resize

LightningChartDPIChangedHandler Delegate

LightningChart .NET Help
Delegate for OnDPIChanged event.

Namespace:  Arction.WinForms.Charting
Assembly:  Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public delegate void DPIChangedHandler(
	LightningChart chart,
	float dpix,
	float dpiy,
	ref bool allowWindowResize
)

Parameters

chart
Type: Arction.WinForms.ChartingLightningChart
Chart where the DPI change occurred.
dpix
Type: SystemSingle
New DPI X-value.
dpiy
Type: SystemSingle
New DPI Y-value.
allowWindowResize
Type: SystemBoolean
Allow window to be resized after event handler is called.

You should set this to true, if you choose not to react the WM_DPICHANGED event on application side. If set to true, LightningChart will mark the event as handled, and touch window size / position.

The default value is false.

See Also