この例では、2シートを作成し、それらを1つずつシートのコレクションに追加し、シートの合計数が3(デフォルトで追加されているシートと、コレクションに追加された2シートから成る)にします。
FarPoint.Web.Spread.SheetView sv2 = new FarPoint.Web.Spread.SheetView();
FarPoint.Web.Spread.SheetView sv3 = new FarPoint.Web.Spread.SheetView();
sv2.GridLineColor = Color.Red;
sv2.GridLines = GridLines.Vertical;
sv3.GridLineColor = Color.Yellow;
sv3.GridLines = GridLines.Horizontal;
FpSpread1.Sheets.Add(sv2);
FpSpread1.Sheets.Add(sv3);
Dim sv2 As New FarPoint.Web.Spread.SheetView()
Dim sv3 As New FarPoint.Web.Spread.SheetView()
sv2.GridLineColor = Color.Red
sv2.GridLines = GridLines.Vertical
sv3.GridLineColor = Color.Yellow
sv3.GridLines = GridLines.Horizontal
FpSpread1.Sheets.Add(sv2)
FpSpread1.Sheets.Add(sv3)