FlexReport for WPF | ComponentOne
C1.WPF.Report Assembly / C1.WPF.Report Namespace / FlexReport Class / MaxPages Property

In This Topic
    MaxPages Property (FlexReport)
    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