Spread WPF Documentation
GetLastDirtyRow Method
Example 


Gets the last dirty row index.
Syntax
'Declaration
 
Public Function GetLastDirtyRow( _
   ByVal type As StorageType _
) As System.Integer
'Usage
 
Dim instance As Worksheet
Dim type As StorageType
Dim value As System.Integer
 
value = instance.GetLastDirtyRow(type)
public System.int GetLastDirtyRow( 
   StorageType type
)

Parameters

type

Return Value

The index of the last dirty row.
Example
This example uses the GetLastDirtyRow method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetLastDirtyColumn(GrapeCity.Windows.SpreadSheet.Data.StorageType.Data).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetLastDirtyRow(GrapeCity.Windows.SpreadSheet.Data.StorageType.Data).ToString());
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetLastDirtyColumn(GrapeCity.Windows.SpreadSheet.Data.StorageType.Data).ToString())
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetLastDirtyRow(GrapeCity.Windows.SpreadSheet.Data.StorageType.Data).ToString())
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.