Class PageBreaks
Represents a collection of page breaks.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.Printing
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class PageBreaks
Properties
HorizontalPageBreaks
Gets the horizontal page breaks.
Declaration
public IEnumerable<PageBreak> HorizontalPageBreaks { get; }
Property Value
System.Collections.Generic.IEnumerable<PageBreak>
The horizontal page breaks. |
VerticalPageBreaks
Gets the vertical page breaks.
Declaration
public IEnumerable<PageBreak> VerticalPageBreaks { get; }
Property Value
System.Collections.Generic.IEnumerable<PageBreak>
The vertical page breaks. |
Methods
Clear()
Clears this instance.
Declaration
public void Clear()
TryInsertHorizontalPageBreak(Int32, Int32)
Tries to insert horizontal page break.
Declaration
public bool TryInsertHorizontalPageBreak(int rowIndex, int columnIndex)
Parameters
System.Int32
rowIndex
Index of the row. |
System.Int32
columnIndex
Index of the column. |
Returns
System.Boolean
True if succeeded. |
TryInsertPageBreaks(Int32, Int32)
Tries to insert page breaks.
Declaration
public bool TryInsertPageBreaks(int rowIndex, int columnIndex)
Parameters
System.Int32
rowIndex
Index of the row. |
System.Int32
columnIndex
Index of the column. |
Returns
System.Boolean
True if succeeded. |
TryInsertVerticalPageBreak(Int32, Int32)
Tries to insert vertical page break.
Declaration
public bool TryInsertVerticalPageBreak(int rowIndex, int columnIndex)
Parameters
System.Int32
rowIndex
Index of the row. |
System.Int32
columnIndex
Index of the column. |
Returns
System.Boolean
True if succeeded. |
TryRemoveHorizontalPageBreak(Int32, Int32)
Tries to remove horizontal page break.
Declaration
public bool TryRemoveHorizontalPageBreak(int rowIndex, int columnIndex)
Parameters
System.Int32
rowIndex
Index of the row. |
System.Int32
columnIndex
Index of the column. |
Returns
System.Boolean
True if succeeded. |
TryRemovePageBreaks(Int32, Int32)
Tries to remove page breaks.
Declaration
public bool TryRemovePageBreaks(int rowIndex, int columnIndex)
Parameters
System.Int32
rowIndex
Index of the row. |
System.Int32
columnIndex
Index of the column. |
Returns
System.Boolean
True if succeeded. |
TryRemoveVerticalPageBreak(Int32, Int32)
Tries to remove vertical page break.
Declaration
public bool TryRemoveVerticalPageBreak(int rowIndex, int columnIndex)
Parameters
System.Int32
rowIndex
Index of the row. |
System.Int32
columnIndex
Index of the column. |
Returns
System.Boolean
True if succeeded. |