语言

Typeface.TryGetGlyphTypeface(GlyphTypeface) 方法

定义

GlyphTypeface检索与 .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

参数

glyphTypeface
GlyphTypeface

GlyphTypeface 与此字样相对应的对象,或者 null 该字样是从复合字体构造的。

返回

如果 out 参数设置为值,则为 />;否则为 。

注解

一 GlyphTypeface 个是直接对应于磁盘上的字体文件的字体人脸。 但是,一 Typeface个是字体面的表示形式。

适用于