Skip to main content
Row

PageBreaksCollection Members

A collection of page breaks in a worksheet.

Properties

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

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