語言

PrinterSettings.MinimumPage 屬性

定義

取得或設定 可以在 中選擇的最小FromPage值 或 ToPage 。PrintDialog

public:
 property int MinimumPage { int get(); void set(int value); };
public int MinimumPage { get; set; }
member this.MinimumPage : int with get, set
Public Property MinimumPage As Integer

屬性值

FromPage最小值或 ToPage 可以在 中選擇PrintDialog。

例外狀況

該房產的價值 MinimumPage 低於零。

備註

FromPage當使用者選擇列印範圍時,會使用 ToPage 和 PrintDialog 屬性。 PrintDialog.AllowSomePages必須將屬性設定為 ,true才能讓使用者指定列印範圍。 在程式設定 FromPage or 值時,請確保它們在 and ToPage 屬性所定義MinimumPage的範圍內,否則顯示 MaximumPagePrintDialog .

適用於

另請參閱