語言

PrintDialog.MaxPage 屬性

定義

取得或設定頁數範圍內允許的最高頁數。

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

屬性值

A 代表列印對話框中頁面範圍內可使用的最高頁碼。UInt32

例外狀況

該屬性設定為小於1。

備註

當列印對話框設定為列印頁面超出 和 值設定MaxPage範圍時,點擊MinPage的使用者會收到錯誤訊息,告知他們最大與最小頁數。 不會有任何印刷。

適用於