_Worksheet.HPageBreaks Property

Returns an HPageBreaks collection that represents the horizontal page breaks on the sheet. Read-only.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property HPageBreaks As HPageBreaks
    Get
'Usage
Dim instance As _Worksheet
Dim value As HPageBreaks

value = instance.HPageBreaks
HPageBreaks HPageBreaks { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.HPageBreaks

Remarks

There is a limit of 1,026 horizontal page breaks per sheet.

See Also

Reference

_Worksheet Interface

_Worksheet Members

Microsoft.Office.Interop.Excel Namespace