Επεξεργασία

Κοινή χρήση μέσω


Typeface.TryGetGlyphTypeface(GlyphTypeface) Method

Definition

Retrieves the GlyphTypeface that corresponds to the Typeface.

public:
 bool TryGetGlyphTypeface([Runtime::InteropServices::Out] System::Windows::Media::GlyphTypeface ^ % glyphTypeface);
public bool TryGetGlyphTypeface (out System.Windows.Media.GlyphTypeface glyphTypeface);
member this.TryGetGlyphTypeface : GlyphTypeface -> bool
Public Function TryGetGlyphTypeface (ByRef glyphTypeface As GlyphTypeface) As Boolean

Parameters

glyphTypeface
GlyphTypeface

GlyphTypeface object that corresponds to this typeface, or null if the typeface was constructed from a composite font.

Returns

true if the out parameter is set to a GlyphTypeface value; otherwise, false.

Remarks

A GlyphTypeface is font face that directly corresponds to a font file on the disk. A Typeface, however, is a representation of font face.

Applies to