Skip to main content

TxtDocumentImporterOptions.ClearWorksheetBeforeImport Property

Gets or sets whether to clear a worksheet before importing data.

Namespace: DevExpress.XtraSpreadsheet.Import

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

[DefaultValue(true)]
public override bool ClearWorksheetBeforeImport { get; set; }

Property Value

Type Default Description
Boolean true

true, to delete worksheet content; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ClearWorksheetBeforeImport
WorkbookImportOptions
.Txt .ClearWorksheetBeforeImport
See Also