IMapExporter.GetBitmap

Syntax

GetBitmap: IGxBitmap;

Description

The GetBitmap method returns map graphic presentation.

Example

Executing the example requires a form with a button with the Button1 identifier, the UiErAnalyzer and ImageBox components with the UiErAnalyzer1 and ImageBox1 identifiers respectively.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

Map: IMap;

Exp: IMapExporter;

Begin

Map := UiErAnalyzer1.ErAnalyzer.Map.Map;

Exp := New MapExporter.Create;

Exp.Map := Map;

ImageBox1.Image := Exp.GetBitmap;

End Sub Button1OnClick;

Clicking the button loads the graphic presentation of the map used in the express report, loaded to the UiErAnalyzer1 component, to the ImageBox1 component.

See also:

IMapExporter