AutoScaleMode: MapAutoScaleMode;
The AutoScaleMode property determines auto calculation type for the report scale. Before determining the calculation type the IMapScale.AutoCalculable property needs to be set to True.
The example requires the Report object of the IPrxReport type. A color scale must be created for the regular report.
Sub UserProc;
Var
Report: IPrxReport;
MapScale : IMapColorScale;
Begin
MapScale := Report.Scales.Item(0).MapScale As IMapColorScale;
MapScale.AutoCalculable := True;
MapScale.AutoScaleMode := MapAutoScaleMode.Uniform;
End Sub UserProc;
The auto calculation of the Equal Intervals type values is set for the regular report scale.
See also: