This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/csharp/settings/format/spreadsheet-settings.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. SpreadsheetSettings

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.

using Nutrient;

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

Properties

BottomMarginOverride

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.