ComponentOne Reports for WPF
C1.C1Report Namespace / C1Report Class / MaxPages Property

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