about cell borders...

Posted by: meidaolia on 8 September 2017, 2:01 pm EST

  • Posted 8 September 2017, 2:01 pm EST

    <P>Hello,</P>
    <P>In Spread Designer,  line style in slanted dash dot, how to use code set a cell border with slanted dash dot line style?</P>
    <P>thx.</P>
  • Replied 8 September 2017, 2:01 pm EST

    <p>Hello, </p><p>You may use the ComplexBorderSide Object to apply the desired Line Border Style.Below is the code snippet to get slanted dash dot border for a cell, </p><p>        Dim topborder As New FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.SlantedDashDot)<br>        Dim leftborder As New FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.SlantedDashDot)<br>        Dim rightborder As New FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.SlantedDashDot)<br>        Dim bottomborder As New FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.SlantedDashDot)<br>        Dim bord As New FarPoint.Win.ComplexBorder(leftborder, topborder, rightborder, bottomborder)<br>        FpSpread1.Sheets(0).Cells(1, 1).Border = bord </p><p> I hope it will help you. <br></p><p> Thanks,</p><p> </p>
  • Replied 8 September 2017, 2:01 pm EST

    <P>It's useful,</P>
    <P>thanks a lot!</P>
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels