FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetViewCollection Class : Count Property |
'Declaration Public Shadows Property Count As Integer
'Usage Dim instance As SheetViewCollection Dim value As Integer instance.Count = value value = instance.Count
public new int Count {get; set;}
System.Collections.ArrayList coll=new System.Collections.ArrayList(2); FarPoint.Web.Spread.SheetView sv=new FarPoint.Web.Spread.SheetView(); FarPoint.Web.Spread.SheetView sv1=new FarPoint.Web.Spread.SheetView(); sv.GridLineColor=Color.Red; sv.GridLines=GridLines.Vertical; sv1.GridLineColor=Color.Yellow; sv1.GridLines=GridLines.Horizontal; coll.Add(sv); coll.Add(sv1); FpSpread1.Sheets.AddRange(coll); ListBox1.Items.Add(Convert.ToString(FpSpread1.Sheets.Count));
Dim coll As New System.Collections.ArrayList(2) Dim sv As New FarPoint.Web.Spread.SheetView() Dim sv1 As New FarPoint.Web.Spread.SheetView() sv.GridLineColor=Color.Red sv.GridLines=GridLines.Vertical sv1.GridLineColor=Color.Yellow sv1.GridLines=GridLines.Horizontal coll.Add(sv) coll.Add(sv1) FpSpread1.Sheets.AddRange(coll) ListBox1.Items.Add(FpSpread1.Sheets.Count)
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6