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

# XlsxWorkbookWorksheetViews

## Overview

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

Provides static methods for building and loading worksheet view settings (sheet properties, sheet views) in the XLSX workbook serializer.

This class declares 4 methods for XlsxWorkbookWorksheetViews objects in C++ programs.
Available methods include: `BuildWorksheetSheetProperties`, `BuildWorksheetViewsElement`, `LoadWorksheetViewSettings`, `XlsxWorkbookWorksheetViews`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `XlsxWorkbookWorksheetViews()` | Calls XlsxWorkbookWorksheetViews on this XlsxWorkbookWorksheetViews instance. |
| `BuildWorksheetSheetProperties(worksheet: Core::WorksheetModel)` → `XmlElement` | Builds the sheetPr XML element for a worksheet, including tab color and page-setup properties. Returns a null XmlElement when neither is present. |
| `BuildWorksheetViewsElement(worksheet: Core::WorksheetModel)` → `XmlElement` | Builds the sheetViews XML element for a worksheet when the view is not the default. Returns a null XmlElement when the view is default. |
| `LoadWorksheetViewSettings(worksheetModel: Core::WorksheetModel, worksheetRoot: XmlElement, diagnostics: LoadDiagnostics, options: LoadOptions, sheetName: std::string_view)` | Loads worksheet view settings (tab color and sheet view) from the worksheet XML root into the model. |

## See Also

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