Type: MapType;
Type: Prognoz.Platform.Interop.Map.MapType;
The Type property determines a map type.
Executing the example requires an express report with the EXPRESS_REPORT identifier and a map on it.
Sub UserProc;
Var
MB: IMetabase;
Express: IEaxAnalyzer;
TypeMap: MapType;
Begin
MB := MetabaseClass.Active;
Express := MB.ItemById("EXPRESS_REPORT").Edit As IEaxAnalyzer;
Express.Map.Map.Type := TypeMap.SVG;
(Express As IMetaBaseObject).Save;
End Sub UserProc;
After executing the example the SVG type is set for an express report map.
Executing the example requires an express report with the EXPRESS_REPORT identifier and a map on it.
Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Map;
Sub UserProc(Params: StartParams);
Var
MB: IMetabase;
Express: IEaxAnalyzer;
TypeMap: MapType;
Begin
MB := Params.Metabase;
Express := MB.ItemById["EXPRESS_REPORT"].Edit() As IEaxAnalyzer;
Express.Map.Map.Type := TypeMap.mtSVG;
(Express As IMetaBaseObject).Save();
End Sub UserProc;
After executing the example the SVG type is set for an express report map.
See also: