Programmer's Reference >
ExcelApplication API >
DataImportProperties > TruncateColumns
TruncateColumns Property
C# Signature:
VB.NET Signature:
Description:
| Sets or returns whether imported data columns will be truncated if the number of columns imported exceeds the number of target columns in the spreadsheet.
TruncateColumns is a
read / write property.
|
Examples:
[csharp]
// Get TruncateColumns
bool truncateCols = importProps.TruncateColumns;
// Set TruncateColumns
importProps.TruncateColumns = true;
[vbnet]
' Get TruncateColumns
Dim truncateCols As Boolean = importProps.TruncateColumns
' Set TruncateColumns
importProps.TruncateColumns = True
Getter |
Signature:
public boolean
TruncateColumns
Returns:
boolean
If true , columns will be truncated silently.
|
Setter |
Signature:
public void TruncateColumns boolean
value
Type:
boolean
|
Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.
|