PrintTicket.PagesPerSheetDirection 屬性

定義

取得或設定值,指出印表機在單張紙正反面列印多頁的安排方式。

public:
 property Nullable<System::Printing::PagesPerSheetDirection> PagesPerSheetDirection { Nullable<System::Printing::PagesPerSheetDirection> get(); void set(Nullable<System::Printing::PagesPerSheetDirection> value); };
public System.Printing.PagesPerSheetDirection? PagesPerSheetDirection { get; set; }
member this.PagesPerSheetDirection : Nullable<System.Printing.PagesPerSheetDirection> with get, set
Public Property PagesPerSheetDirection As Nullable(Of PagesPerSheetDirection)

屬性值

PagesPerSheetDirection 值,指出印表機在每張紙上如何呈現多頁。

例外狀況

呼叫程式碼嘗試將屬性設定為不屬於 PagesPerSheetDirection 列舉的值。

備註

例如,印表機可以在由左至右的數據列中顯示頁面,並堆疊在上到下。

null此屬性的值表示未指定這項功能設定。 此外,當值為 null時, () 的 XML 版本 PrintTicket 將不會 SaveToGetXmlStream 包含此功能的任何標記。

這個屬性會對應到 Print Schema 關鍵詞的 JobNUpAllDocumentsContiguouslyPresentationDirection 子功能,而不是 DocumentNUp 關鍵詞。

您可以使用 屬性來測試印表機支援 PagesPerSheetDirectionCapability 的選項。

適用於