編輯

共用方式為


GlyphRun.DeviceFontName Property

Definition

Gets or sets the specific device font for which the GlyphRun has been optimized.

public:
 property System::String ^ DeviceFontName { System::String ^ get(); void set(System::String ^ value); };
public string DeviceFontName { get; set; }
member this.DeviceFontName : string with get, set
Public Property DeviceFontName As String

Property Value

A String value that represents the device font.

Remarks

When a GlyphRun is rendered on a device that has built-in support for the named device font, the GlyphRun should be rendered using a device specific mechanism for selecting that font, and by sending Unicode code points rather than glyph indices. When rendering onto a device that does not include built-in support for the named device font, DeviceFontName should be ignored.

Applies to