Skip to main content
Row

PageBreaksCollection Methods

A collection of page breaks in a worksheet.
Name Description
Add(Int32) Inserts a page break at the specified row (or column).
Clear() Removes all objects from the PageBreaksCollection instance.
Contains(Int32) Determines whether the collection contains a page break at the specified position (row or column).
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
IndexOf(Int32) Returns the position of the item in the collection.
Remove(Int32) Removes page break at the specified row or column index.
RemoveAt(Int32) Removes the item at the specified index from the collection.
See Also