.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

WorksheetPageNumbering.Start Property

Gets or sets the number from which pagination starts on the current worksheet.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.1.Core.dll

Declaration

int Start { get; set; }

Property Value

Type Description
Int32

An integer that is the number of the first page of the worksheet.

Remarks

The following code starts page numbering from 10 on the second worksheet in the workbook and invokes the workbook print preview.

Worksheet sheet = spreadsheetControl1.Document.Worksheets[1];
sheet.PrintOptions.PageNumbering.Start = 10;
sheet.PrintOptions.PageNumbering.StartType = WorksheetPageNumberingStartType.Restart;
spreadsheetControl1.ShowPrintPreview();
See Also