Typeface.TryGetGlyphTypeface(GlyphTypeface) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för