InterfaceIWorksheetViewExporter
Streams worksheet viewport and selection state (scroll position, panes, zoom, grid/headers visibility, selection).
Definition
Namespace:Telerik.Documents.SpreadsheetStreaming
Assembly:Telerik.Documents.SpreadsheetStreaming.dll
Syntax:
public interface IWorksheetViewExporter : IDisposable
Inherited Members
Methods
AddSelectionRange(int, int, int, int)
Add a rectangular range to the multi-range selection.
Declaration
void AddSelectionRange(int fromRowIndex, int fromColumnIndex, int toRowIndex, int toColumnIndex)
Parameters
fromRowIndex
The row index of the top left cell of the range.
fromColumnIndex
The column index of the top left cell of the range.
toRowIndex
The row index of the bottom right cell of the range.
toColumnIndex
The column index of the bottom right cell of the range.
SetActiveSelectionCell(int, int)
Set the active (anchor) cell of the current selection.
SetFirstVisibleCell(int, int)
Set the first visible cell (scroll origin) of the worksheet view.
SetFreezePanes(int, int)
Freeze the specified number of top rows and left columns to keep them visible while scrolling.
SetFreezePanes(int, int, int, int)
Freeze panes and specify the first visible cell within the scrollable (bottom-right) pane.
Declaration
void SetFreezePanes(int rowsCount, int columnsCount, int scrollablePaneFirstVisibleCellRowIndex, int scrollablePaneFirstVisibleCellColumnIndex)
Parameters
rowsCount
The number of frozen rows.
columnsCount
The number of frozen column.
scrollablePaneFirstVisibleCellRowIndex
The scrollable pane first visible cell row index.
scrollablePaneFirstVisibleCellColumnIndex
The scrollable pane first visible cell column index.
SetScaleFactor(double)
Set the zoom percentage (scale factor) applied to the sheet view.
Declaration
void SetScaleFactor(double percent)
Parameters
percent
The percentage that the viewport will be scaled to.
SetShouldShowGridLines(bool)
Show or hide gridlines in the worksheet viewport.
Declaration
void SetShouldShowGridLines(bool value)
Parameters
value
True for visible gridlines, otherwise False.
SetShouldShowRowColumnHeaders(bool)
Show or hide the row and column headers.
Declaration
void SetShouldShowRowColumnHeaders(bool value)
Parameters
value
True for visible row and column headers, otherwise False.