Soft Break

Soft breaks in a page allow controlling an exact position where a Detail section can be broken. A soft page break specifies a location to be considered for splitting in the Detail section. If the Detail gets to a point in which a split would happen, it will consider the Soft Break's location as a split point. If the split can happen there, it will. Otherwise no splitting will happen. Soft breaks are only taken into consideration when the Detail’s AutoSplit property is set to False. Also, the soft break will not have any affect when placed on a Report Column that is set to VerticalEven or Horizontal.

Properties

The Soft Break element has the following properties.

Properties Description
Id A value indicating the programmatic identifier of the Soft Break.
Y A value indicating the Y coordinate of the Soft Break.

Example

In the below example (Figure 1), the DLEX file describes an order history list specified by customer. This is a good example of using a Soft Break. In this case we only want the report to split if it is able to split at the specific location between the customer details and the list of customer details. We would therefore want to put a Soft Break between these two elements (the Soft Break is the green line at point 72 of the Detail section of Figure 1 below).

Figure 1 – The Design view of a DLEX file with a Soft Break.

In this topic