PrintDialog.MinPage Property
Gets or sets the lowest page number that is allowed in page ranges.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
<object MinPage="uint" .../>
Property Value
Type: System.UInt32A UInt32 that represents the lowest page number that can be used in a page range in the Print dialog box.
| Exception | Condition |
|---|---|
| ArgumentException |
The property is being set to less than 1. |
Users who click Print when the Print dialog box is set to print pages outside the range that is set by the MaxPage and MinPage values will get an error message advising them of the maximum and minimum page numbers. Nothing will be printed.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.