UseZoomOnWheel: Boolean;
The UseZoomOnWheel property determines whether a map will be zoomed with mouse wheel.
If the property is set to True, a map can be zoomed with mouse wheel. If the property is set to False, this option is unavailable.
Executing the example requires that the repository contains a dashboard with the ADHOC_REPORT identifier. The active slide contains a map displaying data of any repository cube.
Add links to the AdHoc, Express, Metabase, and Visualizators system assemblies.
Sub UserProc;
Var
Mb: IMetabase;
Adhoc: IAdhocReport;
Slide: IEaxAnalyzer;
Begin
Mb := MetabaseClass.Active;
Adhoc := Mb.ItemById("ADHOC_REPORT").Edit As IAdhocReport;
Slide := Adhoc.ActiveSlide.DataSourceObjects.Item(0).GetSourceObject As IEaxAnalyzer;
Slide.MapChart.MapChart.UseZoomOnWheel := False;
(Adhoc As IMetabaseObject).Save;
End Sub UserProc;
After executing the example it is prohibited to zoom a map on a dashboard active slide.
See also: