[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorkbookView

IWorkbookView Interface

Represents the view settings of this workbook.

Use this interface to customize workbook-level display settings such as scroll bars, workbook tabs, and the tab area ratio. Obtain an IWorkbookView instance from BookView.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface IWorkbookView
Public Interface IWorkbookView
Examples
IWorkbookView bookView = workbook.BookView;
bookView.DisplayVerticalScrollBar = false;
bookView.DisplayWorkbookTabs = true;
bookView.TabRatio = 0.5;

Properties

Name Description
AllowSheetReorder

Gets or sets whether worksheet tabs can be reordered.

BackColor

Gets or sets the background color of all worksheets.

DisplayHorizontalScrollBar

Gets or sets whether the horizontal scroll bar is displayed.

DisplayVerticalScrollBar

Gets or sets whether the vertical scroll bar is displayed.

DisplayWorkbookTabs

Gets or sets whether the workbook tabs are displayed.

GrayAreaBackColor

Gets or sets the background color of the workbook gray area.

NewTabVisible

Gets or sets whether the New Tab button is visible.

NumbersFitMode

Gets or sets the display mode used when date or number content is wider than the column.

TabEditable

Gets or sets whether editing worksheet tab names is allowed.

TabNavigationVisible

Gets or sets whether to display navigation buttons in the workbook.

TabRatio

Gets or sets the ratio of the width of the workbook tab area to the width of the window's horizontal scroll bar.

TabStripPosition

Gets or sets the position of the tab strip relative to the workbook.

TabStripWidth

Gets or sets the width of the tab strip, in pixels. The value must be 80 or greater.