TrueTypeFontMode Property

PrintTicket.TrueTypeFontMode Property

 

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

Namespace:   System.Printing
Assembly:  ReachFramework (in ReachFramework.dll)

public Nullable<TrueTypeFontMode> TrueTypeFontMode { get; set; }

Property Value

Type: System.Nullable<TrueTypeFontMode>

A TrueTypeFontMode value specifying how a printer handles TrueType fonts.

Exception Condition
ArgumentOutOfRangeException

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

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.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft