Express > Express Assembly Interfaces > IEaxObject > IEaxObject.Enabled
Enabled: Boolean;
The Enabled property determines whether the object should be plotted. This property is set to True if the object should be plotted, and to False if the object should not be plotted.
NOTE. This property is used to disable plotting report chart or map. This enables you to reduce memory usage.
Executing the example requires a form with a button named Button1 on the form, the UiErAnalyzer component named UiErAnalyzer1 that is a data source for the TabSheetBox and ChartBox components. An express report should be loaded to UiErAnalyzer1.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
erAn: IEaxAnalyzer;
eaxObj: IEaxChart;
Begin
erAn := UiErAnalyzer1.ErAnalyzer;
eaxObj := erAn.Chart;
eaxObj.Enabled := False;
End Sub Button1OnClick;
After executing the example chart plotting is disabled.
See also: