Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

DataImportOptions.ReferenceStyle Property

Gets or sets whether the reference style is used in data imported as formulas.

Namespace: DevExpress.Spreadsheet

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

Declaration

public ReferenceStyle ReferenceStyle { get; set; }

Property Value

Type Description
ReferenceStyle

A ReferenceStyle enumeration value which specifies the style of the cell reference.

Example

Dim arrayR1C1() As String = { "a", "b", "=R1C1&R1C2" }
worksheet.Import(arrayR1C1, 0, 0, False, New DataImportOptions() With {.ImportFormulas = True, .ReferenceStyle = ReferenceStyle.R1C1})

Dim arrayLocalized() As String = { "a", "=1,2+1" }
worksheet.Import(arrayLocalized, 1, 0, False, New DataImportOptions() With {.ImportFormulas = True, .FormulaCulture = New System.Globalization.CultureInfo("de-DE")})
See Also