IWxPageSettings.FitToPages

Syntax

FitToPages: Boolean;

Description

The FitToPages property determines vertical and horizontal positioning and printing of a workspace in the defined number of pages.

Comments

The default property value is True. Determine the number of pages horizontally (PageWidth) and vertically (PageHeight).

If the property is set to False, determine the workspace scale (Scale).

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 parameters of the page are changed: the printing scale will be 50% of the original workspace size.

See also:

IWxPageSettings