IWxViewExporter.GetBitmap

Syntax

GetBitmap: IGxBitmap;

Description

The GetBitmap method returns graphical image of a workspace.

Example

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

Var

View: IWxView;

Exp: IWxViewExporter;

Begin

View := WorkspaceBox1.View;

Exp := New WxViewExporter.Create;

Exp.WxView := View;

ImageBox1.Image := Exp.GetBitmap;

End Sub Button1OnClick;

After executing this example, graphical image of the workspace, displayed in the WorkspaceBox1 component is loaded into the ImageBox1 component.

See also:

IWxViewExporter