(For Outline elements the SetElBorderType(), SetElBorderStyle() and SetElBorderColor() functions are used to specify outlines.)
The SetElOrientation(int n) method is used to specify one of the following line types for Line elements:
0 horizontal
line
1 vertical
line
2 forward diagonal
line
3 backward diagonal
line
4
rectangle
5
circle/ellipse
6 rounded rectangle
(small corners)
7 rounded rectangle
(large corners)
In each case the element is fitted inside the element’s rectangle.
For compatibility with older versions a value of 90 is treated as 1. Any other value produces a horizontal line.
More:
SetLineColor(int iEl,Color lineColor)