CreateView: IWxView;
The CreateView method creates a workspace view.
Executing the example requires an existing ws object of the IWxWorkspace type.
Sub UserProc;
Var
ws: IWxWorkspace;
view : IWxView;
Begin
view := ws.CreateView;
view.Id := "MyView";
view.Scale := 0.5;
view.Size := New GxSizeF.Create(100.55,100.66);
view.Offset := New GxPointF.Create(10,3);
End Sub UserProc;
After executing the example a workspace view is created and its identifier, scale, size and center offset are set.
See also: