在运行了下面代码后出现的如图错误
FpSpread1.ActiveSheet.Cells(0, 0).Border = New FarPoint.Win.ComplexBorder(Nothing, New FarPoint.Win.ComplexBorderSide(Color.Black, 2, Drawing2D.DashStyle.Solid), Nothing, Nothing)
FpSpread1.ActiveSheet.Cells(2, 0).Border = New FarPoint.Win.ComplexBorder(Nothing, New FarPoint.Win.ComplexBorderSide(Color.Black, 2, Drawing2D.DashStyle.Dot), Nothing, Nothing)
FpSpread1.ActiveSheet.Cells(4, 0).Border = New FarPoint.Win.ComplexBorder(Nothing, New FarPoint.Win.ComplexBorderSide(Color.Black, 2, Drawing2D.DashStyle.DashDot), Nothing, Nothing)
FpSpread1.ActiveSheet.Cells(6, 0).Border = New FarPoint.Win.ComplexBorder(Nothing, New FarPoint.Win.ComplexBorderSide(Color.Black, 2, Drawing2D.DashStyle.DashDotDot), Nothing, Nothing)
FpSpread1.ActiveSheet.Cells(8, 0).Border = New FarPoint.Win.ComplexBorder(Nothing, New FarPoint.Win.ComplexBorderSide(Color.Black, 2, Drawing2D.DashStyle.Dash), Nothing, Nothing)
FpSpread1.ActiveSheet.Cells(10, 0).Border = New FarPoint.Win.ComplexBorder(Nothing, New FarPoint.Win.ComplexBorderSide(Color.Black, 2, Drawing2D.DashStyle.Custom), Nothing, Nothing)
FpSpread1.ActiveSheet.Cells(12, 0).Border = New FarPoint.Win.ComplexBorder(Nothing, New FarPoint.Win.ComplexBorderSide(Color.Black, 2, FarPoint.Win.ComplexBorderSideStyle.SlantedDashDot), Nothing, Nothing)
FpSpread1.ActiveSheet.Cells(14, 0).Border = New FarPoint.Win.ComplexBorder(Nothing, New FarPoint.Win.ComplexBorderSide(Color.Black, 2, FarPoint.Win.ComplexBorderSideStyle.MediumDashDotDot), Nothing, Nothing)
FpSpread1.ActiveSheet.Cells(16, 0).Border = New FarPoint.Win.ComplexBorder(Nothing, New FarPoint.Win.ComplexBorderSide(Color.Black, 2, FarPoint.Win.ComplexBorderSideStyle.ThinLine), Nothing, Nothing)
FpSpread1.ActiveSheet.Cells(18, 0).Border = New FarPoint.Win.ComplexBorder(Nothing, New FarPoint.Win.ComplexBorderSide(Color.Black, 2, Drawing2D.DashStyle.Dash), Nothing, Nothing) |
|