HotXLS Docs

AutoPageBreaks property

Yields or sets whether the classic XLS worksheet uses automatic page breaks. Read/write Boolean

Syntax

property AutoPageBreaks: Boolean;

Notes

This property controls the automatic page-break flag stored 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 untouched

Example

This example disables automatic page breaks for the worksheet

Workbook.Worksheets[1].PageSetup.AutoPageBreaks := False;