IWxView.Scale

Syntax

Scale: Double;

Description

The Scale property determines display scale.

Comments

Acceptable values should be within the range [0.01, 10]. Value 0.01 corresponding to 1% of actual size, and the value 10 to 1000% of actual size.

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);
End Sub UserProc;

After executing the example a workspace view is created and its identifier, scale and size are set.

See also:

IWxView