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
- 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.