Line

Use the Line element to add horizontal and vertical lines anywhere to the page. The Line element can be added to any report section (i.e. Header, Detail or Footer).

To add a line, select the Line element under the Toolbox, drag and drop it at the desired location on the page. The line can then be resized and repositioned using the mouse, manually changing the values in the properties window or by changing the values in the source.

Change a line to be solid, dotted, dash, etc. by selecting the desired Style from the properties window. Note that the default line style is Solid. Line thickness can also be varied by changing its width value property. The Line element has the following properties.

Properties

Properties Description
Cap A value indicating the cap style to end the Line with.
Color A value indicating the color of the Line.
Style A value indicating the style of the Line. See note below for customizing Line Style.
Width A value indicating the width of the Line.
Id A value indicating the programmatic identifier of the Line.
X1 A value indicating the starting X coordinate of the Line.
X2 A value indicating the ending X coordinate of the Line.
Y1 A value indicating the starting Y coordinate of the Line.
Y2 A value indicating the ending Y coordinate of the Line.

Customizing Line Style

Use the "Custom" item in the Line's Style propertyCustomizing set Line Style to the exact number of dashes and spaces. If "Custom" is selected from the Line's Style property drop down menu then a user defined value must be entered to specify the exact line series style. The syntax for the Custom Line style is as follows.

Examples

In this topic