IWxPageSettings.PageWidth

Syntax

PageWidth: Integer;

Description

The PageWidth property determines the number of pages for horizontal direction (width) that are used to allocate and print a workspace. The default property value is 1.

The property is available if the FitToPages property is set to True.

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 := True;

PS.PageHeight := 2;

PS.PageWidth := 3;

End Sub UserProc;

After executing the example when printed a workspace will be allocated in up to three pages horizontally and in two pages vertically.

See also:

IWxPageSettings