ComponentOne FlexReport for WinForms
MaxPages Property

C1.Win.FlexReport.4 Assembly > C1.Win.FlexReport Namespace > C1FlexReport Class : MaxPages Property
Gets or sets the maximum number of pages allowed for a report.
Syntax
'Declaration
 
Public Property MaxPages As System.Integer
public System.int MaxPages {get; set;}
Remarks

This property is useful if you want to limit the maximum number of pages in a report.

For example, you may write a report designer with a preview window that shows only the first five pages of a report.

Setting this property to zero allows reports of any length.

You can also limit the size of reports by setting the DataSource.MaxRecords property.

See Also

Reference

C1FlexReport Class
C1FlexReport Members