Forums     Knowledge Base     OfficeWriter Online     
 
This documentation is for
OfficeWriter v3.0.4
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > ExcelApplication API > DataImportProperties > TruncateRows

TruncateRows Property


C# Signature:

VB.NET Signature:


Description:

Sets or returns whether imported data rows will be truncated if the number of rows imported exceeds the number of target rows in the spreadsheet.

TruncateRows is a read / write property.



Examples:

[csharp]
// Get TruncateRows
bool truncateRows = importProps.TruncateRows;

// Set TruncateRows
importProps.TruncateRows = true;
[vbnet]
' Get TruncateRows
Dim truncateRows As Boolean = importProps.TruncateRows

' Set TruncateRows
importProps.TruncateRows = True


Getter

Signature:

public boolean TruncateRows

Returns:

boolean If true, rows will be truncated silently.

Setter

Signature:

public void TruncateRows boolean value

Type:

boolean



Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.