IWxView.Offset

Syntax

Offset: IGxPointF;

Description

The Offset property determines image offset relative to the workspace center.

Comments

By default, the workspace center matches the view center.

Example

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:

IWxView