Documentazione HotXLS

TXLSHPageBreaks class

Unità: lxHandle
Una raccolta di interruzioni di pagina orizzontali all'interno dell'area di stampa. Ogni interruzione di pagina orizzontale è rappresentata da un TXLSHPageBreak object

Proprietà

Metodi

Esempio

This example inserts a horizontal page break before row 25 e then checks how many horizontal page breaks the worksheet contains

var
  Sheet: TXLSWorksheet;
begin
  Sheet := Workbook.Sheets[1];
  Sheet.HPageBreaks.Add(Sheet.Range['A25', 'A25']);

  if Sheet.HPageBreaks.Count > 0 then
    Sheet.PageSetup.PrintGridlines := True;
end;

Vedere also