|
|
Programmer's Reference >
WordApplication API >
Element > ImportData
ImportData Method
Signature:
public Table ImportData ( Object[][] data
, String[] columnNames
, DataImportProperties properties
)
Description:
Imports a set of data from an array of column names and a 2-dimensional array of data to a Table created at the point of the current element in the document. Also accepts a DataImportProperties object defining any options for this data import.
Parameters:
|
data |
A 2-dimensional array from which to import the data from. |
|
columnNames |
An array of column names to import. |
|
properties |
Import properties for this data import, including max rows, max columns, column filter, etc. |
Returns:
Table
The Table that the data was imported into.
Examples:
[csharp]
Table tbl = e.ImportData(dataArray, colArray, oDataImportProperties);
[vbnet]
Dim tbl As Table = e.ImportData(dataArray, colArray, oDataImportProperties)

Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.
|
|
|