Share via


Worksheet.HPageBreaks Property

Gets an HPageBreaks collection that represents the horizontal page breaks on the sheet.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
ReadOnly Property HPageBreaks As HPageBreaks
HPageBreaks HPageBreaks { get; }

Property Value

Type: HPageBreaks
An HPageBreaks collection that represents the horizontal page breaks on the sheet.

Remarks

There is a limit of 1026 horizontal page breaks per sheet.

.NET Framework Security

See Also

Reference

Worksheet Interface

Microsoft.Office.Tools.Excel Namespace