PrintDialog.PageRange Property

Definition

Gets or sets the range of pages to print when PageRangeSelection is set to UserPages.

public:
 property System::Windows::Controls::PageRange PageRange { System::Windows::Controls::PageRange get(); void set(System::Windows::Controls::PageRange value); };
public System.Windows.Controls.PageRange PageRange { get; set; }
member this.PageRange : System.Windows.Controls.PageRange with get, set
Public Property PageRange As PageRange

Property Value

A PageRange that represents the range of pages that are printed.

Exceptions

The PageRange object that is being used to set the property has either the beginning of the range or the end of the range set to a value that is less than 1.

Applies to