WorkbookViewModel
Overview
WorkbookViewModel is a class in Aspose.Cells for NET.
WorkbookViewModel.CopyFrom copies all view settings from the specified source model.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
XWindow | int? | Read/Write | |
YWindow | int? | Read/Write | |
WindowWidth | int? | Read/Write | Gets or sets the width of the workbook window in points |
WindowHeight | int? | Read/Write | |
FirstSheet | int? | Read/Write | Gets or sets the index of the first visible worksheet |
ShowHorizontalScroll | bool? | Read/Write | Gets or sets whether the horizontal scroll bar is displayed |
ShowVerticalScroll | bool? | Read/Write | Indicates whether the vertical scroll bar is displayed |
ShowSheetTabs | bool? | Read/Write | Gets or sets whether worksheet tabs are visible |
TabRatio | int? | Read/Write | |
Visibility | string | Read/Write | Gets or sets the visibility state of the workbook view (e.g., visible, hidden) |
Minimized | bool | Read/Write | Gets or sets whether the workbook window is minimized |
AutoFilterDateGrouping | bool | Read/Write | Gets or sets if date grouping is enabled in auto filters |
Methods
| Signature | Description |
|---|---|
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 |