WorksheetModel
Overview
WorksheetModel is a class in Aspose.Cells for NET.
WorksheetModel.WorksheetModel creates a worksheet model with the given name.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Name | string | Read/Write | |
Visibility | SheetVisibility | Read/Write | Gets or sets the worksheet’s visibility (e.g., visible, hidden) |
Cells | Dictionary<CellAddress, CellRecord> | Read | Gets a dictionary mapping cell addresses to cell records |
Rows | Dictionary<int, RowModel> | Read | Gets a dictionary of row index to row model metadata |
Columns | List<ColumnRangeModel> | Read | Provides a list of column range models defining column metadata |
MergeRegions | List<MergeRegion> | Read | Provides a list of merged cell regions on the worksheet |
Hyperlinks | List<HyperlinkModel> | Read | Provides a list of hyperlink definitions in the worksheet |
PageSetup | PageSetupModel | Read | Provides access to page setup settings for printing |
View | WorksheetViewModel | Read | Provides the worksheet’s view configuration (e.g., zoom, pane) |
Protection | WorksheetProtectionModel | Read | Gets the worksheet protection model controlling edit permissions |
AutoFilter | AutoFilterModel | Read | Gets the auto filter model applied to the worksheet |
TabColor | ColorValue? | Read/Write |
Methods
| Signature | Description |
|---|---|
WorksheetModel(name: string) | Creates a worksheet model with the given name |