Skip to main content
A newer version of this page is available. .

Drawing Lines

The XRLine control draws a line of a specified direction, style, width and color. It can be used for both decoration and visual separation of a report’s sections.

RD_Controls_Line

The main properties are available in the actions list of the XRLine control’s smart tag:

report-control-line-0

The following properties specify direction, style, width and format of the XRLine control.

  • Line Direction

    The line can be drawn horizontally, vertically, and across the rectangle, from one corner of the rectangle representing the Line control, to another. That is, Horizontal, Vertical, Slant and Back Slant types.

    report-control-line-1

  • Line Style

    You can select the solid (by default), dashed, dotted or mixed style for the line.

    report-control-line-2

  • Line Width

    Specifies the Line’s width, in report measurement units.

  • Anchor Vertically

    Specifies the vertical anchoring style of the control, so that after page rendering it stays attached to the top control, bottom control, or both.

Tip

The XRLine control cannot cross bands. See Drawing Cross-Band Lines and Boxes to learn about the available options.