ActiveReports 14 .NET Edition
ActiveReports 14 User Guide / Concepts / ActiveReports Designer / Snap Lines
In This Topic
    Snap Lines
    In This Topic

    Snap lines assist in accurate positioning of elements on a report design surface while you drag report controls on it. These dynamic horizontal and vertical layout guidelines are similar to the ones found in Visual Studio. You can see snap lines on the ActiveReports Designer as well as the Stand-alone designer application.

    Snap lines in ActiveReports Designer

    Snap lines in ActiveReports Designer

    Snap lines appear on the design surface by default. In order to disable them, click the Snap Lines button below the design surface, or in section reports, hold down the [Alt] key while dragging a control to temporarily hide the snap lines.

    Snap Lines button

    When you drag a control on the design surface, blue snap lines appear and the control slows down as it aligns with another control or a section edge. Unless you are also using the Snap to Grid setting, with Snap Lines, the control can move freely around the report and can be placed anywhere on the design surface.

    Tip: If you plan to export a report to Excel format, use snap lines to ensure that your controls are aligned in columns and rows to avoid empty cells or overlapping of controls in the spreadsheet.

    Snap Line Behavior

    On dragging with a mouse

    When you drag report controls across the design surface, they snap to other controls, report and section edges. Snap lines appear when the control you are dragging aligns with any edge of any of the following:

    • Any control inside any section of the report.
      SnapLines Example

      SnapLines Example

    • Another control inside the same data region.
      SnapLines Example

      SnapLines Example

    • Parts of a data region (bands in a Banded List, or columns and rows in a Table).
      SnapLines Example

      SnapLines Example

    • Report edges and section edges.
      SnapLines Example

      SnapLines Example

    • Other control edges while resizing with a mouse.
      SnapLines Example

      SnapLines Example

    • On selecting multiple items where all the items move as a single unit, snap lines appear for all items in the selection.
      SnapLines Example

      SnapLines Example

    With keyboard actions

    • Use [Ctrl] + [Shift] + Arrow keys to resize the selected control from one snap line to the next.
    • Use [Ctrl] + Arrow keys to move the selected control to the next snap line.
    • Use [Ctrl] + Left mouse button to copy the control and see snap lines appear between the edges of the copied control being dragged and the original control.
    Note: Snap lines do not appear when you move a control with arrow keys.
    See Also