IWxWorkspace.LoadFromFile

Syntax

LoadFromFile(FileName: String);

Parameters

FileName. File name and path.

Description

The LoadFromFile method loads a workspace from a file.

Example

Executing the example requires an existing ws object of the IWxWorkspace type.

Sub UserProc;

Var

ws: IWxWorkspace;

Begin

ws.LoadFromFile("c:\RP.p5w");

End Sub UserProc;

After executing the example a workspace is loaded from a file.

See also:

IWxWorkspace