Glyphs.FontUri Property
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.
Gets or sets the location of the font used for rendering the glyphs.
public:
property Uri ^ FontUri { Uri ^ get(); void set(Uri ^ value); };
Uri FontUri();
void FontUri(Uri value);
public System.Uri FontUri { get; set; }
var uri = glyphs.fontUri;
glyphs.fontUri = uri;
Public Property FontUri As Uri
<Glyphs FontUri="uriString"/>
Property Value
An object describing the Uniform Resource Identifier (URI) source of the font. The default is null.
Examples
This example shows how to reference a font file that's included in the Assets folder of a project. To embed a font file in a project, set its Build Action to Content in Microsoft Visual Studio.
glyph.FontUri = new Uri("ms-appx:///Assets/segoeui.ttf");
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor