Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Imports the data from a rectangular array into a Table at the point of the current element in the document. Also accepts an array of column names and a DataImportProperties object with the import options.

Signature
C#
C#
 public Table ImportData(System.Object[,] data, System.String[] columnNames, DataImportProperties props)
Signature
vb.net
vb.net
Public Function ImportData(ByVal data As Object(,), ByVal columnNames As String(), ByVal props As DataImportProperties) As Table
Parameters
Param
data
data

The rectangular array to import the data from.

Param
columnNames
columnNames

Array of column names, corresponding to columns of data in the rectangular array.

Param
props
props

Import properties for this data import, including max rows, max columns, column filter, etc.

Returns

The Table that the data was imported into.

Example
Code Block
csharp
csharp
titleC#
Table tbl = e.ImportData(rectArray, colArray, importProps);
Code Block
vb.net
vb.net
titlevb.net
Dim tbl As Table = e.ImportData(rectArray, colArray, importProps)