PrintTicket.PageBorderless 屬性

定義

取得或設定值,指定裝置列印內容是否要填滿到媒體的邊緣,或是在四周邊界留一點空間不要列印。

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

屬性值

PageBorderless 值,指定印表機是否使用無邊列印。

例外狀況

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

備註

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

此屬性會對應至 列印架構PageBorderless 關鍵詞。

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

適用於