ComponentOne AutoComplete for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Report Namespace / C1Report Class / MaxPages Property

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