Returns or sets whether the classic XLS worksheet uses automatic page breaks. Read/write Boolean.
Syntax
property AutoPageBreaks: Boolean;
Remarks
This property controls the automatic page-break flag saved in the worksheet WSBool record. The default is True. Set it to False when a saved worksheet should suppress automatically generated page breaks while leaving manual horizontal and vertical page breaks unchanged.
Example
This example disables automatic page breaks for the worksheet.
Workbook.Worksheets[1].PageSetup.AutoPageBreaks := False;