Gets or sets the maximum number of pages allowed for a report.
Namespace:
C1.C1ReportAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
[DefaultValueAttribute()] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] public int MaxPages { get; set; } |
Visual Basic |
---|
<DefaultValueAttribute()> _ <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _ Public Property MaxPages As Integer 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 MaxRecords property.
The default value for this property is 0.