HotXLS dokumentacija

Grąžina or sets whether the classic XLS worksheet uses automatic page breaks. Read/write Boolean

property

property

AutoPageBreaks: Boolean; 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

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

This example disables automatic page breaks for the worksheet

This example disables automatic page breaks for the worksheet

Workbook.Worksheets[

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