FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetViewCollection Class : Insert Method |
'Usage Dim instance As SheetViewCollection Dim index As Integer Dim sheetView As SheetView instance.Insert(index, sheetView)
FarPoint.Web.Spread.SheetView sv0 = New FarPoint.Web.Spread.SheetView(); FarPoint.Web.Spread.SheetView sv1 = New FarPoint.Web.Spread.SheetView(); sv0.GridLineColor = Color.Red; sv0.GridLines = GridLines.Vertical; sv1.GridLineColor = Color.Yellow; sv1.GridLines = GridLines.Horizontal; FpSpread1.Sheets.Clear(); FpSpread1.Sheets.Insert(0, sv0); FpSpread1.Sheets.Insert(1, sv1);
Dim sv0 As New FarPoint.Web.Spread.SheetView Dim sv1 As New FarPoint.Web.Spread.SheetView sv0.GridLineColor = Color.Red sv0.GridLines = GridLines.Vertical sv1.GridLineColor = Color.Yellow sv1.GridLines = GridLines.Horizontal FpSpread1.Sheets.Clear() FpSpread1.Sheets.Insert(0, sv0) FpSpread1.Sheets.Insert(1, sv1)
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional