Table of Contents

Class HPageBreaksCollection

Namespace
Spire.Xls.Collections
Assembly
Spire.XLS.dll
public class HPageBreaksCollection : XlsHPageBreaksCollection, IList<IHPageBreak>, ICollection<IHPageBreak>, IEnumerable<IHPageBreak>, IExcelApplication, ICloneParent, IHPageBreaks, IEnumerable
Inheritance
HPageBreaksCollection
Implements
Inherited Members

Properties

this[CellRange]

Gets page break object item.

public HPageBreak this[CellRange location] { get; }

Parameters

location CellRange

Property Value

HPageBreak

this[int]

public HPageBreak this[int index] { get; }

Parameters

index int

Property Value

HPageBreak

Methods

Add(CellRange)

Adds a horizontal page break.

public HPageBreak Add(CellRange range)

Parameters

range CellRange

Returns

HPageBreak

HPageBreak added.

GetPageBreak(CellRange)

Returns page break at the specified range.

public HPageBreak GetPageBreak(CellRange range)

Parameters

range CellRange

Range object.

Returns

HPageBreak

Page break object.

GetPageBreak(int)

Returns page break at the specified row.

public HPageBreak GetPageBreak(int rowIndex)

Parameters

rowIndex int

Row index.

Returns

HPageBreak

Page break object.

Remove(CellRange)

public void Remove(CellRange range)

Parameters

range CellRange