FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / C1FlexReport Class / MaxPages Property

In This Topic
    MaxPages Property (C1FlexReport)
    In This Topic
    Gets or sets the maximum number of pages allowed for a report.
    Syntax
    'Declaration
     
    Public Property MaxPages As Integer
    public 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