HotXLS-dokumentasjon

AutoPageBreaks egenskap

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

Syntaks

property AutoPageBreaks: Boolean;

Merknader

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

Eksempel

This example disables automatic page breaks for the worksheet

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