IMap.Type

Fore Syntax

Type: MapType;

Fore.NET Syntax

Type: Prognoz.Platform.Interop.Map.MapType;

Description

The Type property determines a map type.

Fore Example

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.

Fore.NET Example

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:

IMap