FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > DefaultRowFilter Class > AddColumn Method : AddColumn(Int32) Method |
'Declaration Public Overloads Sub AddColumn( _ ByVal viewColumnIndex As Integer _ )
'Usage Dim instance As DefaultRowFilter Dim viewColumnIndex As Integer instance.AddColumn(viewColumnIndex)
public void AddColumn( int viewColumnIndex )
FarPoint.Web.Spread.NamedStyle instyle = new FarPoint.Web.Spread.NamedStyle(); FarPoint.Web.Spread.NamedStyle outstyle = new FarPoint.Web.Spread.NamedStyle(); instyle.BackColor = Color.Yellow; outstyle.BackColor = Color.Aquamarine; FarPoint.Web.Spread.StyleRowFilter sf = new FarPoint.Web.Spread.StyleRowFilter(FpSpread1.Sheets[0], instyle, outstyle); sf.AddColumn(1); FpSpread1.Sheets[0].RowFilter = sf;
Dim instyle As New FarPoint.Web.Spread.NamedStyle() Dim outstyle As New FarPoint.Web.Spread.NamedStyle() instyle.BackColor = Color.Yellow outstyle.BackColor = Color.Aquamarine Dim sf As New FarPoint.Web.Spread.StyleRowFilter(FpSpread1.Sheets(0), instyle, outstyle) sf.AddColumn(1) FpSpread1.Sheets(0).RowFilter = sf
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional