HorizontalPageBreakCollection Class |
Namespace: GemBox.Spreadsheet
The HorizontalPageBreakCollection type exposes the following members.
Name | Description | |
---|---|---|
![]() | Count |
Gets the number of page breaks contained in the collection.
(Inherited from PageBreakCollection.) |
![]() | Item |
Gets or sets the horizontal page break at the specified index.
|
Name | Description | |
---|---|---|
![]() | Add(Int32) |
Ads a new horizontal page break above the specified row.
|
![]() | Add(Int32, Int32, Int32) |
Ads a new horizontal page break above the specified row and within specified columns.
|
![]() | Clear |
Removes all page breaks.
(Inherited from PageBreakCollection.) |
![]() | GetEnumerator |
Returns an enumerator for the collection.
(Inherited from PageBreakCollectionT.) |
![]() | RemoveAt |
Removes the page break at the specified index.
(Inherited from PageBreakCollection.) |
Following code demonstrates how to add PageBreaks to ExcelWorksheet.