Border Object

This topic describes the Border object used for setting the cell's border attributes.

Object properties

  • BottomLineStyle - a string value that specifies the cell's bottom line style. Available styles are:

    1. None
    2. Thin
    3. Medium
    4. Dashed
    5. Dotted
    6. Thick
    7. Double
    8. Hair
    9. MediumDashed
    10. DashDot
    11. MediumDashDot
    12. DashDotDot
    13. MediumDashDotDot
    14. SlantDashDot
  • BottomLineColor - an object that specifies the cell's bottom line color.

  • TopLineStyle - a string value that specifies the cell's top line style. Available styles are:

    1. None
    2. Thin
    3. Medium
    4. Dashed
    5. Dotted
    6. Thick
    7. Double
    8. Hair
    9. MediumDashed
    10. DashDot
    11. MediumDashDot
    12. DashDotDot
    13. MediumDashDotDot
    14. SlantDashDot
  • TopLineColor - an object that specifies the cell's top line color.

  • LeftLineStyle - a string value that specifies the cell's left line style. Available styles are:

    1. None
    2. Thin
    3. Medium
    4. Dashed
    5. Dotted
    6. Thick
    7. Double
    8. Hair
    9. MediumDashed
    10. DashDot
    11. MediumDashDot
    12. DashDotDot
    13. MediumDashDotDot
    14. SlantDashDot
  • LeftLineColor - an object that specifies the cell's left line color.

  • RightLineStyle - a string value that specifies the cell's right line style. Available styles are:

    1. None
    2. Thin
    3. Medium
    4. Dashed
    5. Dotted
    6. Thick
    7. Double
    8. Hair
    9. MediumDashed
    10. DashDot
    11. MediumDashDot
    12. DashDotDot
    13. MediumDashDotDot
    14. SlantDashDot
  • RightLineColor - an object that specifies the cell's right line color.

  • DiagonalUpLineStyle - a string value that specifies the cell's diagonal line style. Available styles are:

    1. None
    2. Thin
    3. Medium
    4. Dashed
    5. Dotted
    6. Thick
    7. Double
    8. Hair
    9. MediumDashed
    10. DashDot
    11. MediumDashDot
    12. DashDotDot
    13. MediumDashDotDot
    14. SlantDashDot
  • DiagonalDownLineStyle - a string value that specifies the cell's diagonal line style. Available styles are:

    1. None
    2. Thin
    3. Medium
    4. Dashed
    5. Dotted
    6. Thick
    7. Double
    8. Hair
    9. MediumDashed
    10. DashDot
    11. MediumDashDot
    12. DashDotDot
    13. MediumDashDotDot
    14. SlantDashDot
  • DiagonalColor - an object that specifies the cell's diagonal lines color.

  • Outline - a boolean value. True, if borders are drawn outside the cell; False, if borders are drawn inside the cell.