PrintDialog::MinPage Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

property unsigned int MinPage {
	unsigned int get();
	void set(unsigned int value);

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