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

Draw Lines

The XRLine control draws a line in a specified direction, style, width, and color. You can use it to decorate and visually separate a report’s sections.

RD_Controls_Line

The actions list of the line’s smart tag provides the main control properties:

report-control-line-0

  • Line Direction

    Enables you to draw a line horizontally, vertically, and across the rectangle the line occupies from one corner to another (Horizontal, Vertical, Slant and Back Slant types).

    report-control-line-1

  • Line Style

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

    report-control-line-2

  • Line Width

    Specifies the line width in pixels as a floating point value.

  • Anchor Vertically

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

Tip

The XRLine control cannot span several bands. See Draw Cross-Band Lines and Boxes to learn about drawing lines through several bands.