PageBreaks
Manages the collection of horizontal and vertical page breaks for a worksheet, controlling pagination during printing.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.Printing
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class PageBreaks
Inheritance: objectPageBreaks
Methods
Removes all horizontal and vertical page breaks from the worksheet.
public void Clear()
Attempts to insert both horizontal and vertical page breaks at the specified cell, and returns whether at least one break was added.
Attempts to remove both horizontal and vertical page breaks at the specified cell, and returns whether at least one break was removed.
Properties
Gets all horizontal page breaks, which split pages at specific row boundaries.
public IEnumerable<PageBreak> HorizontalPageBreaks { get; }
The horizontal page breaks.
Gets all vertical page breaks, which split pages at specific column boundaries.
public IEnumerable<PageBreak> VerticalPageBreaks { get; }
The vertical page breaks.