IWxPageSettings.Scale

Syntax

Scale: Double;

Description

The Scale property determines the scale of a printed workspace. The property can have any positive values. For example, the 0.1 value corresponds to 10% of an actual value, whereas the 4 value is to 400% of an actual value.

Example

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

Sub UserProc;

Var

WS : IWxWorkspace;

PS : IWxPageSettings;

Begin

PS := ws.PageSettings;

PS.FitToPages := False;

PS.Scale := 0.5;

End Sub UserProc;

After executing the example the following page settings are changed: the printing scale will be 50% of the original workspace size.

See also:

IWxPageSettings