語言

PrintTicket.DeviceFontSubstitution 屬性

定義

取得或設定一個值,指示印表機是否在列印工作中替換裝置字型而取代電腦字型。

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

屬性值

一個 DeviceFontSubstitution 表示裝置是否將裝置字型替換為電腦字型的值,表示目前列印工作。

例外狀況

呼叫程式碼嘗試將屬性設定為列舉中不 DeviceFontSubstitution 存在的值。

備註

此 null 屬性的值表示該特徵設定未被指定。 此外,當值為 null時,(見 PrintTicket 和 SaveTo)的 XML 版本GetXmlStream不會包含此功能的任何標記。

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

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

適用於