ActiveReports 10
RepeatToFill Property (Detail)

GrapeCity.ActiveReports.v10 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > Detail Class : RepeatToFill Property

Gets or sets a value that determines whether the section's formatting should print to fill the page when there is not enough data to fill it.

The RepeatToFill property allows you to fill each page with the same number of formatted rows, regardless of whether there is enough data to fill them. This is especially useful for reports such as invoices in which you want consistent formatting like lines or green bars or back colors to fill each page down to the Footer section at the bottom.
 
Note: You cannot use the RepeatToFill property if you are using the PageBreak or SubReport control in the Detail section, or if you have set the NewPage or NewColumn property to any value other than None. When you use this property in a report where two groups are present, the ReportFooter section prints on the next page. This property processes correctly only with single grouping.

Syntax
'Declaration
 
Public Property RepeatToFill As Boolean
public bool RepeatToFill {get; set;}

Property Value

A Boolean value.  True if the section will print formatting to fill the page if its contents permit; otherwise, False.
Remarks

Note: The RepeatToFill property cannot be used if the PageBreak or SubReport control is used in the Detail section, or if the NewPage or NewColumn property is set to any value other than None.

When you use this property when two groups are present, the second GroupFooter section is always on the next page. It processes correctly only with a single grouping. The ReportFooter section also prints on the next page when you set this property to True.

See Also

Reference

Detail Class
Detail Members