• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class PageBreakCollection

Represents the page break collection class used by the spreadsheet model.

Inheritance
object
PageBreakCollection
Implements
IEnumerable<PageBreak>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class PageBreakCollection : IEnumerable<PageBreak>, IEnumerable

Constructors

PageBreakCollection()

Represents the page break collection class used by the spreadsheet model.

Declaration
public PageBreakCollection()

Properties

Count

Gets the number of page breaks in the collection.

Declaration
public int Count { get; }
Property Value
Type Description
int

this[int]

Provides indexed access to values in PageBreakCollection.

Declaration
public PageBreak this[int index] { get; }
Parameters
Type Name Description
int index
Property Value
Type Description
PageBreak

Methods

Add(string)

Adds a page break at the specified row or column index.

Declaration
public void Add(string address)
Parameters
Type Name Description
string address

The address (e.g., "Y30") where the page break should be added.

Clear()

Removes all page breaks from the collection.

Declaration
public void Clear()

GetEnumerator()

Retrieves the requested enumerator from PageBreakCollection.

Declaration
public IEnumerator<PageBreak> GetEnumerator()
Returns
Type Description
IEnumerator<PageBreak>

The get enumerator returned by the operation.

RemoveAt(int)

Removes the page break at the specified index.

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
int index

The zero-based index of the page break to remove.

Implements

IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX