IWorksheetViewExporter
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
Add a rectangular range to the multi-range selection.
void AddSelectionRange(int fromRowIndex, int fromColumnIndex, int toRowIndex, int toColumnIndex)
The row index of the top left cell of the range.
fromColumnIndexintThe column index of the top left cell of the range.
toRowIndexintThe row index of the bottom right cell of the range.
toColumnIndexintThe column index of the bottom right cell of the range.
Freeze panes and specify the first visible cell within the scrollable (bottom-right) pane.
void SetFreezePanes(int rowsCount, int columnsCount, int scrollablePaneFirstVisibleCellRowIndex, int scrollablePaneFirstVisibleCellColumnIndex)
The number of frozen rows.
columnsCountintThe number of frozen column.
scrollablePaneFirstVisibleCellRowIndexintThe scrollable pane first visible cell row index.
scrollablePaneFirstVisibleCellColumnIndexintThe scrollable pane first visible cell column index.
Set the zoom percentage (scale factor) applied to the sheet view.
void SetScaleFactor(double percent)
The percentage that the viewport will be scaled to.
Show or hide gridlines in the worksheet viewport.
void SetShouldShowGridLines(bool value)
True for visible gridlines, otherwise False.
Show or hide the row and column headers.
void SetShouldShowRowColumnHeaders(bool value)
True for visible row and column headers, otherwise False.