LightningChartInitializeRenderingDevice Method |
LightningChart .NET Help
Tries to force the engine initialization in a synchronous fashion. Should have
no use in WinForms.
This method allows user to force the rendering device initialization.
Note! Do not force during chart events callbacks, except at AfterRendering event! Causes chart to malfunction, if engine is changed during event handler.
Namespace:
Arction.Wpf.ChartingMVVM
Assembly:
Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntaxpublic bool InitializeRenderingDevice(
bool force = false
)
Public Function InitializeRenderingDevice (
Optional force As Boolean = false
) As Boolean
public:
bool InitializeRenderingDevice(
bool force = false
)
Parameters
- force (Optional)
- Type: SystemBoolean
Forces engine reinitialization, even if there should be no reason for it.
Return Value
Type:
Booleantrue if the call resulted in valid engine that is different from the previous one.
See Also