NativeExcel2 for .Net Developer's Reference

IWorksheet.ResetAllPageBreaksMethod

Resets all page breaks on the worksheet.

[Visual Basic]
SubResetAllPageBreaks()
[C#]
voidResetAllPageBreaks();
[C++]
voidResetAllPageBreaks();
[JScript]
functionResetAllPageBreaks();

Example

This example resets all page breaks on worksheet one.

[C#]
book.Worksheets[1].ResetAllPageBreaks(); 
[VisualBasic]
book.Worksheets(1).ResetAllPageBreaks() 
[C++]
book->Worksheets->Item[1]->ResetAllPageBreaks();

See Also

IWorksheet Interface | NativeExcel Namespace | HPageBreaks Property | VPageBreaks Property | IPageBreaks Interface