Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelCreateOptions

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
273d35d5ba8a with working tree changes
Base
DocumentCreateOptions
Modifiers
sealed

Controls creation and persistence of an Excel workbook.

Inheritance

  • DocumentCreateOptions
  • ExcelCreateOptions

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Constructors

public ExcelCreateOptions() #

Properties

public ExcelDocumentType DocumentType { get; set; } #

Controls the Open XML workbook type when no destination extension is available.

public OfficeTheme? Theme { get; set; } #

Optional visual theme for a new workbook. Null retains the workbook or template defaults.

public string? Template { get; set; } #

Optional workbook template copied into the new document.

public Stream? TemplateStream { get; set; } #

Optional caller-owned template stream. It cannot be combined with Template.

public bool Overwrite { get; set; } #

Allows a template destination to replace an existing file. The default is true.

public OfficeOpenXmlLoadSettings? OpenSettings { get; set; } #

Optional package settings applied when reading the template.

public string? FirstSheetName { get; set; } #

Optional worksheet created when a new workbook has no sheets.