Skip to main content

IXlPageBreaks 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.
Item[Int32] Gets the position of the specified page break by its index in the collection.
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 position.
Clear() Removes all page breaks from the collection.
Contains(Int32) Determines whether the collection contains a page break at the specified position (after the specified 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 index of the specified page break in the collection.
Remove(Int32) Removes the page break at the specified row or column index.
RemoveAt(Int32) Removes a page break at the specified index from the collection.
See Also