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.
public int MaxPages {get; set;}
'Declaration Public Property MaxPages As Integer
C1PrintDocument Class C1PrintDocument Members