skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Interface IWorksheetViewExporter

Streams worksheet viewport and selection state (scroll position, panes, zoom, grid/headers visibility, selection).

Inherited Members
System.IDisposable.Dispose()
Namespace: Telerik.Documents.SpreadsheetStreaming
Assembly: Telerik.Documents.SpreadsheetStreaming.dll

Syntax

public interface IWorksheetViewExporter : IDisposable

Methods

AddSelectionRange(Int32, Int32, Int32, Int32)

Add a rectangular range to the multi-range selection.

Declaration
void AddSelectionRange(int fromRowIndex, int fromColumnIndex, int toRowIndex, int toColumnIndex)
Parameters
System.Int32 fromRowIndex

The row index of the top left cell of the range.

System.Int32 fromColumnIndex

The column index of the top left cell of the range.

System.Int32 toRowIndex

The row index of the bottom right cell of the range.

System.Int32 toColumnIndex

The column index of the bottom right cell of the range.

SetActiveSelectionCell(Int32, Int32)

Set the active (anchor) cell of the current selection.

Declaration
void SetActiveSelectionCell(int rowIndex, int columnIndex)
Parameters
System.Int32 rowIndex

The row index of the active cell.

System.Int32 columnIndex

The column index of the active cell.

SetFirstVisibleCell(Int32, Int32)

Set the first visible cell (scroll origin) of the worksheet view.

Declaration
void SetFirstVisibleCell(int rowIndex, int columnIndex)
Parameters
System.Int32 rowIndex

The row index.

System.Int32 columnIndex

The column index.

SetFreezePanes(Int32, Int32)

Freeze the specified number of top rows and left columns to keep them visible while scrolling.

Declaration
void SetFreezePanes(int rowsCount, int columnsCount)
Parameters
System.Int32 rowsCount

The number of frozen rows.

System.Int32 columnsCount

The number of frozen column.

SetFreezePanes(Int32, Int32, Int32, Int32)

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
System.Int32 rowsCount

The number of frozen rows.

System.Int32 columnsCount

The number of frozen column.

System.Int32 scrollablePaneFirstVisibleCellRowIndex

The scrollable pane first visible cell row index.

System.Int32 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
System.Double percent

The percentage that the viewport will be scaled to.

SetShouldShowGridLines(Boolean)

Show or hide gridlines in the worksheet viewport.

Declaration
void SetShouldShowGridLines(bool value)
Parameters
System.Boolean value

True for visible gridlines, otherwise False.

SetShouldShowRowColumnHeaders(Boolean)

Show or hide the row and column headers.

Declaration
void SetShouldShowRowColumnHeaders(bool value)
Parameters
System.Boolean value

True for visible row and column headers, otherwise False.

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.