|
|
Programmer's Reference >
WordApplication API >
Element > ImportData
ImportData Method
Signature:
public Table ImportData ( Object[,] data
, String[] columnNames
, DataImportProperties props
)
Description:
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.
Parameters:
|
data |
The rectangular array to import the data from. |
|
columnNames |
Array of column names, corresponding to columns of data in the rectangular array. |
|
props |
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(rectArray, colArray, importProps);
[vbnet]
Dim tbl As Table = e.ImportData(rectArray, colArray, importProps)

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