IPrxPageSettings.UseSheetPageCount

Syntax

UseSheetPageCount: Boolean;

Description

The UseSheetPageCount property determines whether sheet pages numbering starts anew regardless of numbering of other sheets' pages. If the property is set to True, numbering starts anew. If the property is set to False, continuous numbering is used for sheet's pages.

The default property value is False.

Example

The following example assumes that there is the Report object with the IPrxReport type.

Sub UserProc;

Var

Report: IPrxReport;

Sheet: IPrxSheet;

PageSet: IPrxPageSettings;

Begin

Sheet := Report.Sheets.Item(0);

PageSet := Sheet.PageSettings;

PageSet.UseSheetPageCount := True;

PageSet.StartPageNumber := 3;

End Sub UserProc;

Page numbering starts from the beginning starting from the third page.

See also:

IPrxPageSettings