New to Telerik Document ProcessingStart a free 30-day trial

Defines a horizontal or vertical page break at a specific row or column index, controlling where pages split during printing.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model.Printing

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class PageBreak

Inheritance: objectPageBreak

Methods

Returns a string that represents the current object.

C#
public override string ToString()
Returns:

string

A string that represents the current object.

Overrides: object.ToString()

Properties

Gets the starting column index (for horizontal breaks) or row index (for vertical breaks) where the break applies.

C#
public int FromIndex { get; }
Property Value:

The starting index.

Gets the row or column index where the page break occurs.

C#
public int Index { get; }
Property Value:

The index.

Gets the ending column index (for horizontal breaks) or row index (for vertical breaks) where the break applies.

C#
public int ToIndex { get; }
Property Value:

The ending index.

Gets whether this is a horizontal (row) or vertical (column) page break.

C#
public PageBreakType Type { get; }
Property Value:

The type.