This documentation is archived and is not being maintained.

PrintDialog.MinPage Property

Gets or sets the lowest page number that is allowed in page ranges.

Namespace: System.Windows.Controls
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:

public uint MinPage { get; set; }
/** @property */
public UInt32 get_MinPage ()

/** @property */
public void set_MinPage (UInt32 value)

public function get MinPage () : uint

public function set MinPage (value : uint)

<object MinPage="uint" .../>

Property Value

A UInt32 that represents the lowest page number that can be used in a page range in the Print dialog box.

Exception typeCondition


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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0