---
title: "SpreadsheetSettings"
canonical_url: "https://www.nutrient.io/api/csharp/settings/format/spreadsheet-settings/"
md_url: "https://www.nutrient.io/api/csharp/settings/format/spreadsheet-settings.md"
last_updated: "2026-10-08T08:55:57.713Z"
description: "Settings for Spreadsheet. Values fall back through three levels: document → SDK → built-in default."
---

Settings for Spreadsheet. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document's settings, otherwise the SDK globally when set on SdkSettings.

```csharp

using Nutrient;

```

The SDK creates this class through factory methods or other SDK objects.

## Properties

### BottomMarginOverride

```csharp

public float BottomMarginOverride { get; set; }

```

Gets or sets the value of BottomMarginOverride. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

**Type:** `float`

### HalfTransparentHeaderFooter

```csharp

public bool HalfTransparentHeaderFooter { get; set; }

```

Gets or sets the value of HalfTransparentHeaderFooter. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

**Type:** `bool`

### LeftMarginOverride

```csharp

public float LeftMarginOverride { get; set; }

```

Gets or sets the value of LeftMarginOverride. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

**Type:** `float`

### MaximumContentHeightPerSheet

```csharp

public float MaximumContentHeightPerSheet { get; set; }

```

Gets or sets the value of MaximumContentHeightPerSheet. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

**Type:** `float`

### MaximumContentWidthPerSheet

```csharp

public float MaximumContentWidthPerSheet { get; set; }

```

Gets or sets the value of MaximumContentWidthPerSheet. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

**Type:** `float`

### MaximumPageHeight

```csharp

public float MaximumPageHeight { get; set; }

```

Gets or sets the value of MaximumPageHeight. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

**Type:** `float`

### MaximumPageWidth

```csharp

public float MaximumPageWidth { get; set; }

```

Gets or sets the value of MaximumPageWidth. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

**Type:** `float`

### PageHeightOverride

```csharp

public float PageHeightOverride { get; set; }

```

Gets or sets the value of PageHeightOverride. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

**Type:** `float`

### PageWidthOverride

```csharp

public float PageWidthOverride { get; set; }

```

Gets or sets the value of PageWidthOverride. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

**Type:** `float`

### RenderOnlyPrintArea

```csharp

public bool RenderOnlyPrintArea { get; set; }

```

Gets or sets the value of RenderOnlyPrintArea. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

**Type:** `bool`

### RenderSheetHeadersAndFooters

```csharp

public bool RenderSheetHeadersAndFooters { get; set; }

```

Gets or sets the value of RenderSheetHeadersAndFooters. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

**Type:** `bool`

### RightMarginOverride

```csharp

public float RightMarginOverride { get; set; }

```

Gets or sets the value of RightMarginOverride. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

**Type:** `float`

### SplitSheetsIntoPages

```csharp

public bool SplitSheetsIntoPages { get; set; }

```

Gets or sets the value of SplitSheetsIntoPages. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

**Type:** `bool`

### TopMarginOverride

```csharp

public float TopMarginOverride { get; set; }

```

Gets or sets the value of TopMarginOverride. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

**Type:** `float`

## Resource management

```csharp

public void Dispose()

```

`SpreadsheetSettings` implements `IDisposable`. Call `Dispose()` or use a C# `using` declaration to release its native handle right away. If you don't, the handle is released when the object is garbage collected.

---

## Related pages

- [Format](/api/csharp/settings/format.md)
- [Accessibility Settings](/api/csharp/settings/format/accessibility-settings.md)
- [Cad Settings](/api/csharp/settings/format/cad-settings.md)
- [Email Settings](/api/csharp/settings/format/email-settings.md)
- [Html Settings](/api/csharp/settings/format/html-settings.md)
- [Image Settings](/api/csharp/settings/format/image-settings.md)
- [Jpeg Settings](/api/csharp/settings/format/jpeg-settings.md)
- [Markdown Settings](/api/csharp/settings/format/markdown-settings.md)
- [Pdf Settings](/api/csharp/settings/format/pdf-settings.md)
- [Presentation Settings](/api/csharp/settings/format/presentation-settings.md)
- [Search Settings](/api/csharp/settings/format/search-settings.md)
- [Text Settings](/api/csharp/settings/format/text-settings.md)
- [Word Settings](/api/csharp/settings/format/word-settings.md)

