System.Drawing.Printing.PrinterSettings.MinimumPage Property

Gets or sets the minimum PrinterSettings.FromPage or PrinterSettings.ToPage that can be selected in a System.Windows.Forms.PrintDialog.

Syntax

public int MinimumPage { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The PrinterSettings.FromPage and PrinterSettings.ToPage properties are used by the System.Windows.Forms.PrintDialog when the user selects a print range. The System.Windows.Forms.PrintDialog.AllowSomePages property must be set to true to enable the user to specify a print range. When setting the PrinterSettings.FromPage or PrinterSettings.ToPage values programmatically, ensure that they are within the range defined by the PrinterSettings.MinimumPage and PrinterSettings.MaximumPage properties, or an exception is thrown when displaying the System.Windows.Forms.PrintDialog.

Requirements

Namespace: System.Drawing.Printing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0