FarPoint.Win.ComplexBorderSide topborder = new FarPoint.Win.ComplexBorderSide(System.Drawing.Color.Black, 1);
FarPoint.Win.ComplexBorderSide leftborder = new FarPoint.Win.ComplexBorderSide(System.Drawing.Color.Blue, 1);
FarPoint.Win.ComplexBorderSide rightborder = new FarPoint.Win.ComplexBorderSide(Color.Red, 2);
FarPoint.Win.ComplexBorderSide bottomborder = new FarPoint.Win.ComplexBorderSide(Color.Black, 3, System.Drawing.Drawing2D.DashStyle.Solid, null, new float[] { 0f, 0.33f, 0.66f, 1f });
FarPoint.Win.ComplexBorderSide dborder = new FarPoint.Win.ComplexBorderSide(System.Drawing.Color.Yellow, 2);
FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(leftborder, topborder, rightborder, bottomborder, dborder, true, true);
fpSpread1.Sheets[0].Cells[1, 1].Border = bord; |