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 > MaxRows

MaxRows Property


C# Signature:

VB.NET Signature:


Description:

Sets or returns the maximum number of rows to import from the data source.

MaxRows is a read / write property.



Examples:

[csharp]
// Get MaxRows
int maxRows = importProps.MaxRows;

// Set MaxRows
importProps.MaxRows = 20;
[vbnet]
' Get MaxRows
Dim maxRows As Integer = importProps.MaxRows

' Set MaxRows
importProps.MaxRows = 20


Getter

Signature:

public int MaxRows

Returns:

int The maximum number of rows to import from the data source.

Setter

Signature:

public void MaxRows int value

Type:

int



Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.