PrintTicket.TrueTypeFontMode 屬性
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定值,指出印表機如何處理使用 TrueType 字型的文字。
public:
property Nullable<System::Printing::TrueTypeFontMode> TrueTypeFontMode { Nullable<System::Printing::TrueTypeFontMode> get(); void set(Nullable<System::Printing::TrueTypeFontMode> value); };
C#
public System.Printing.TrueTypeFontMode? TrueTypeFontMode { get; set; }
member this.TrueTypeFontMode : Nullable<System.Printing.TrueTypeFontMode> with get, set
Public Property TrueTypeFontMode As Nullable(Of TrueTypeFontMode)
TrueTypeFontMode 值,指定印表機如何處理 TrueType 字型。
呼叫程式碼嘗試將屬性設定為不屬於 TrueTypeFontMode 列舉的值。
null
此屬性的值表示未指定這項功能設定。 此外,當值為 null
時, (的 XML 版本 PrintTicket 會查看 SaveTo 和 GetXmlStream) 不包含此功能的任何標記。
此屬性會對應至 列印架構的 PageTrueTypeFontMode
關鍵詞。
您可以使用 屬性來測試印表機支援 TrueTypeFontModeCapability 的選項。
產品 | 版本 |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |