Excel |
The ExcelPageBreaksCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| Count | Gets the number of page breaks in collection. | |
| Item | Gets the page break at the specified index. | |
| Type | Gets the page breaks type (horizontal or vertical). |
| Name | Description | |
|---|---|---|
| AddPageBreak | Adds a page break to the specified location in worksheet. For a horizontal page breaks collection the break is inserted in worksheet at the top edge of the range, for a vertical pae breaks collection the break is inserted at the left edge of the range. | |
| GetEnumerator | Gets the collection enumerator | |
| RemovePageBreak | Removes the page break at the specified zero based index from collection. |