Property MaximumPage
MaximumPage
Gets or sets the maximum FromPage or ToPage that can be selected in a PrintDialog.
public virtual int MaximumPage { get; set; }
Property Value
Remarks
The FromPage and ToPage properties are used by the PrintDialog when the user selects a print range. The AllowSomePages property must be set to true to enable the user to specify a print range.