FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultRowFilter Class : GetFilteredColumnIndexes Method |
'Declaration Public Function GetFilteredColumnIndexes() As Integer()
'Usage Dim instance As DefaultRowFilter Dim value() As Integer value = instance.GetFilteredColumnIndexes()
public int[] GetFilteredColumnIndexes()
fpSpread1.ActiveSheet.Columns[0].AllowAutoFilter = true; int[] i = fpSpread1.ActiveSheet.RowFilter.GetFilteredColumnIndexes; MessageBox.Show("The number of columns filtered is " + i.Length.ToString());
FpSpread1.ActiveSheet.Columns(0).AllowAutoFilter = True Dim i As Integer() = FpSpread1.ActiveSheet.RowFilter.GetFilteredColumnIndexes MessageBox.Show("The number of columns filtered is " & i.Length.ToString())
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10