語言

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時,(見 PrintTicket 和 SaveTo)的 XML 版本GetXmlStream不會包含此功能的任何標記。

此特性對應於 列印結構的 PageBorderless 關鍵字。

你可以用這個 PageBorderlessCapability 屬性測試印表機支援的選項。

適用於