PrintTicket.TrueTypeFontMode Property

Definition

Gets or sets a value indicating how the printer handles text that uses TrueType fonts.

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

Property Value

A TrueTypeFontMode value specifying how a printer handles TrueType fonts.

Exceptions

Calling code has attempted to set the property to a value that is not in the TrueTypeFontMode enumeration.

Remarks

A null value for this property means that this feature setting is not specified. Also, when the value is null, the XML versions of the PrintTicket (see SaveTo and GetXmlStream) will not contain any markup for this feature.

This property corresponds to the Print Schema's PageTrueTypeFontMode keyword.

You can test for the options that the printer supports by using the TrueTypeFontModeCapability property.

Applies to