---
Product: Aspose.Cells
Platform: cpp
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/cpp/workbookview
---

# WorkbookView

## Overview

`WorkbookView` is a class in Aspose.Cells FOSS for C++.

Represents workbook view.

This class declares 28 methods for WorkbookView objects in C++ programs.
Available methods include: `GetActiveTab`, `GetAutoFilterDateGrouping`, `GetFirstSheet`, `GetMinimized`, `GetShowHorizontalScroll`, `GetShowSheetTabs`, `GetShowVerticalScroll`, `GetTabRatio`, `GetVisibility`, `GetWindowHeight`, `GetWindowWidth`, `GetXWindow`, and 15 additional methods.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.
Accessor methods: `WorkbookView`.

## Accessor Methods

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `WorkbookView` | `WorkbookView` | Read | Gets the workbook view. |

## Methods

| Signature | Description |
|-----------|-------------|
| `WorkbookView()` → `WorkbookView` | Calls WorkbookView on this WorkbookView instance. |
| `WorkbookView()` |  |
| `GetXWindow()` → `int` | Gets or sets the x window. |
| `SetXWindow(value: int)` | Sets the x window value. |
| `GetYWindow()` → `int` | Gets or sets the y window. |
| `SetYWindow(value: int)` | Sets the y window value. |
| `GetWindowWidth()` → `int` | Gets or sets the window width. |
| `SetWindowWidth(value: int)` | Sets the window width value. |
| `GetWindowHeight()` → `int` | Gets or sets the window height. |
| `SetWindowHeight(value: int)` | Sets the window height value. |
| `GetActiveTab()` → `int` | Gets or sets the active tab. |
| `SetActiveTab(value: int)` | Sets the active tab value. |
| `GetFirstSheet()` → `int` | Gets or sets the first sheet. |
| `SetFirstSheet(value: int)` | Sets the first sheet value. |
| `GetShowHorizontalScroll()` → `bool` | Gets or sets a value indicating whether show horizontal scroll. |
| `SetShowHorizontalScroll(value: bool)` | Sets the show horizontal scroll value. |
| `GetShowVerticalScroll()` → `bool` | Gets or sets a value indicating whether show vertical scroll. |
| `SetShowVerticalScroll(value: bool)` | Sets the show vertical scroll value. |
| `GetShowSheetTabs()` → `bool` | Gets or sets a value indicating whether show sheet tabs. |
| `SetShowSheetTabs(value: bool)` | Sets the show sheet tabs value. |
| `GetTabRatio()` → `int` | Gets or sets the tab ratio. |
| `SetTabRatio(value: int)` | Sets the tab ratio value. |
| `GetVisibility()` → `std::string` | Gets or sets the visibility. |
| `SetVisibility(value: std::string_view)` | Sets the visibility value. |
| `GetMinimized()` → `bool` | Gets or sets a value indicating whether minimized. |
| `SetMinimized(value: bool)` | Sets the minimized value. |
| `GetAutoFilterDateGrouping()` → `bool` | Gets or sets a value indicating whether auto filter date grouping. |
| `SetAutoFilterDateGrouping(value: bool)` | Sets the auto filter date grouping value. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)