OnlyDataArea

SpreadsheetPreviewOptions.OnlyDataArea property

Gets or sets the flag for rendering the data area only without headers, footers, margins.

public bool OnlyDataArea { get; set; }

Property Value

The flag for rendering the data area only without headers, footers, margins.

Remarks

This flags leads to rendering the whole worksheet on one page. The default value is false.

See Also