Class
ExcelCreateOptions
OfficeIMO.Excel
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
- Method ExcelDocument.Create
Constructors
public ExcelCreateOptions() #Inherited Methods
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.
Inherited Properties
public DocumentPersistenceMode PersistenceMode { get; set; } #Inherited from DocumentCreateOptions