Class
PrintTitles

Configures rows and columns to be repeated on each printed page, ensuring consistent headers or labels across multi-page prints.

Definition

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

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class PrintTitles : CellRangeInsertedOrRemovedAwareCollectionBase

Inheritance: objectCellRangeInsertedOrRemovedAwareCollectionBasePrintTitles

Inherited Members CellRangeInsertedOrRemovedAwareCollectionBase.CanInsertOrRemove(ShiftType, CellRange, CellRange)CellRangeInsertedOrRemovedAwareCollectionBase.ShouldTranslateUpDown(RangeType)CellRangeInsertedOrRemovedAwareCollectionBase.ShouldTranslateLeftRight(RangeType)CellRangeInsertedOrRemovedAwareCollectionBase.TranslateRanges(Dictionary<CellRange, CellRange>)CellRangeInsertedOrRemovedAwareCollectionBase.OnBeforeTranslation(Dictionary<CellRange, CellRange>, CellRange, ShiftType)CellRangeInsertedOrRemovedAwareCollectionBase.OnAfterTranslation(Dictionary<CellRange, CellRange>, CellRange, ShiftType)CellRangeInsertedOrRemovedAwareCollectionBase.Cells

Properties

CellRanges

Gets the collection of the repeated rows and columns of the printed titles.

Declaration

cs-api-definition
protected override ICollection<CellRange> CellRanges { get; }

Property Value

ICollection<CellRange>

Overrides CellRangeInsertedOrRemovedAwareCollectionBase.CellRanges

RepeatedColumns

Gets or sets the contiguous columns to be repeated on the left of each printed page, typically used for row labels.

Declaration

cs-api-definition
public ColumnRange RepeatedColumns { get; set; }

Property Value

ColumnRange

RepeatedRows

Gets or sets the contiguous rows to be repeated at the top of each printed page, typically used for column headers.

Declaration

cs-api-definition
public RowRange RepeatedRows { get; set; }

Property Value

RowRange

Methods

TranslateRange(CellRange, CellRange)

Translates the ranges of the print titles when a change has been made in the worksheet which affects the ranges.

Declaration

cs-api-definition
protected override void TranslateRange(CellRange oldRange, CellRange newRange)

Parameters

oldRange

CellRange

The range which was part of the print titles before the change.

newRange

CellRange

The range which resulted after the change.

Exceptions

InvalidOperationException

Overrides CellRangeInsertedOrRemovedAwareCollectionBase.TranslateRange(CellRange, CellRange)