Worksheet.HPageBreaks Property
Gets an Microsoft.Office.Interop.Excel.HPageBreaks collection that represents the horizontal page breaks on the sheet.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
ReadOnly Property HPageBreaks As HPageBreaks
Get
HPageBreaks HPageBreaks { get; }
Property Value
Type: Microsoft.Office.Interop.Excel.HPageBreaks
An Microsoft.Office.Interop.Excel.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.