[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorksheet.HPageBreaks

HPageBreaks Property

HPageBreaks

Gets the collection of horizontal page breaks within the print area.

Use the returned IHPageBreaks collection to access existing horizontal page breaks or add new ones within the worksheet print area.

Declaration
IHPageBreaks HPageBreaks { get; }
ReadOnly Property HPageBreaks As IHPageBreaks
Examples
worksheet.Range["A1"].Value = "Name";
worksheet.HPageBreaks.Add(worksheet.Range["A10"]);
IHPageBreaks pageBreaks = worksheet.HPageBreaks;
IHPageBreak pageBreak = pageBreaks[0];