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

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

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

適用於