Gets or sets the value limiting the maximum number of pages in the generated document.

The default value is -1, indicating that the number of pages in the document is unlimited.

This property is only taken into account when the document is created using the Generate()()()() method.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
[XmlAttributeAttribute("MaxPages")]
[DefaultValueAttribute()]
public int MaxPages { get; set; }
Visual Basic
<XmlAttributeAttribute("MaxPages")> _
<DefaultValueAttribute()> _
Public Property MaxPages As Integer
	Get
	Set

Remarks

The default value for this property is -1.

See Also