Bewerken

Delen via


PrintDialog.MaxPage Property

Definition

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

public:
 property System::UInt32 MaxPage { System::UInt32 get(); void set(System::UInt32 value); };
public uint MaxPage { get; set; }
member this.MaxPage : uint32 with get, set
Public Property MaxPage As UInteger

Property Value

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

Exceptions

The property is being set to less than 1.

Remarks

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.

Applies to