Skip to main content

TxtDocumentExporterOptions.Range Property

Gets or sets the worksheet range for export.

Namespace: DevExpress.XtraSpreadsheet.Export

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

[DefaultValue("")]
public override string Range { get; set; }

Property Value

Type Default Description
String String.Empty

A string that specifies the range to export.

Property Paths

You can access this nested property as listed below:

Object Type Path to Range
WorkbookExportOptions
.Txt .Range

Remarks

The specified string references the range as described in the Cell Referencing topic.

Note

Only a contiguous cell range can be assigned to the Range property. An exception occurs when exporting a complex (union) range to a text file.

See Also