HasScaledData: Boolean;
HasScaledData: boolean;
The HasScaledData property returns whether measurement units are taken into account on conditional formatting.
Returned values:
True. Measurement units are taken into account on conditional formatting.
False. Measurement units are not taken into account on conditional formatting.
Executing the example requires that the repository contains an express report with the EXPRESS identifier.
Add links to the Metabase, Express, Pivot system assemblies.
Sub UserProc;
Var
Metabase: IMetabase;
Express: IEaxAnalyzer;
Pivot: IPivot;
Begin
Metabase := MetabaseClass.Active;
Express := Metabase.ItemById("EXPRESS").Bind As IEaxAnalyzer;
// Get express report table
Pivot := Express.Pivot;
If Pivot.HasScaledData = True Then
Debug.WriteLine("Measurement units are taken into account on conditional formatting");
Else
Debug.WriteLine("Measurement units are not taken into account on conditional formatting");
End If;
End Sub UserProc;
After executing the example the console window displays whether measurement units are taken into account on conditional formatting.
The requirements and result of the Fore.NET example execution match with those in the Fore example.
Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Pivot;
…
Public Shared Sub Main(Params: StartParams);
Var
Metabase: IMetabase;
Express: IEaxAnalyzer;
Pivot: IPivot;
Begin
Metabase := Params.Metabase;
Express := Metabase.ItemById["EXPRESS"].Bind() As IEaxAnalyzer;
// Get express report table
Pivot := Express.Pivot;
If Pivot.HasScaledData = True Then
System.Diagnostics.Debug.WriteLine("Measurement units are taken into account on conditional formatting");
Else
System.Diagnostics.Debug.WriteLine("Measurement units are not taken into account on conditional formatting");
End If;
End Sub;
See also: