FarPoint.Web.Spread.SheetView[] myarray = new FarPoint.Web.Spread.SheetView[2];
FarPoint.Web.Spread.SheetView sv1 = new FarPoint.Web.Spread.SheetView();
FarPoint.Web.Spread.SheetView sv2 = new FarPoint.Web.Spread.SheetView();
sv1.GridLineColor = Color.Red;
sv1.GridLines = GridLines.Vertical;
sv2.GridLineColor = Color.Yellow;
sv2.GridLines = GridLines.Horizontal;
FpSpread1.Sheets.Add(sv1);
FpSpread1.Sheets.Add(sv2);
FpSpread1.Sheets.CopyTo(myarray, 0);
Dim myarray(2) As FarPoint.Web.Spread.SheetView
Dim sv1 As New FarPoint.Web.Spread.SheetView()
Dim sv2 As New FarPoint.Web.Spread.SheetView()
sv1.GridLineColor = Color.Red
sv1.GridLines = GridLines.Vertical
sv2.GridLineColor = Color.Yellow
sv2.GridLines = GridLines.Horizontal
FpSpread1.Sheets.Add(sv1)
FpSpread1.Sheets.Add(sv2)
FpSpread1.Sheets.CopyTo(myarray, 0)