語言

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 是該字型是由複合字型構成的。

傳回

true若 out 參數設為值GlyphTypeface;否則 。 false

備註

A GlyphTypeface 是直接對應磁碟上字型檔案的字型。 然而,A Typeface是字型的表示。

適用於