WorkbookViewModel

WorkbookViewModel

Overview

WorkbookViewModel is a class in Aspose.Cells for NET.

WorkbookViewModel.CopyFrom copies all view settings from the specified source model.

Properties

NameTypeAccessDescription
XWindowint?Read/Write
YWindowint?Read/Write
WindowWidthint?Read/WriteGets or sets the width of the workbook window in points
WindowHeightint?Read/Write
FirstSheetint?Read/WriteGets or sets the index of the first visible worksheet
ShowHorizontalScrollbool?Read/WriteGets or sets whether the horizontal scroll bar is displayed
ShowVerticalScrollbool?Read/WriteIndicates whether the vertical scroll bar is displayed
ShowSheetTabsbool?Read/WriteGets or sets whether worksheet tabs are visible
TabRatioint?Read/Write
VisibilitystringRead/WriteGets or sets the visibility state of the workbook view (e.g., visible, hidden)
MinimizedboolRead/WriteGets or sets whether the workbook window is minimized
AutoFilterDateGroupingboolRead/WriteGets or sets if date grouping is enabled in auto filters

Methods

SignatureDescription
CopyFrom(source: WorkbookViewModel)Copies all view settings from the specified source model
HasStoredState(activeSheetIndex: int)Returns true if view state is stored for the given active sheet index