Unfortunately there is not a built in line decoration in CVI. We already have a couple of suggestions on this. However there are a couple of ways to do it.
a)Use a text label with underscores in it for horizontal lines.
b) Use 2 text labels with a vertical line character aligned to get a single line.
c) Use a picture control with the picture on a line in it.
d) Use a flat box decoration to emulate a "not-so-thin" line.
Here is a uir file with some examples of lines. I hope this helps.
Thank you for your reply . But I just need a pure line ,and I can stretch it along a direction , the example you provided can not meet my requirement . Do you have another idea ? Thanks .