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)

public uint MinPage { get; set; }

Property Value

Type: System.UInt32

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

Exception Condition

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.

.NET Framework
Available since 3.0
Return to top