Lightning |
public delegate void DPIChangedHandler( LightningChart chart, float dpix, float dpiy, ref bool allowWindowResize )
Public Delegate Sub DPIChangedHandler ( chart As LightningChart, dpix As Single, dpiy As Single, ByRef allowWindowResize As Boolean )
public delegate void DPIChangedHandler( LightningChart^ chart, float dpix, float dpiy, bool% allowWindowResize )
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.
Microsoft instructs on [!:https://docs.microsoft.com/en-us/windows/desktop/hidpi/wm-dpichanged] that all PerMonitor DPI aware applications should listen for WM_DPICHANGED events, and reposition / resize the application window as instructed on the page.
LightningChart does not do this operation by default. This system can be enabled by setting the allowWindowResize parameter to true.