TextElement.FontFamily 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 preferred top-level font family for the content of the element.
FontFamily FontFamily();
void FontFamily(FontFamily value);
public FontFamily FontFamily { get; set; }
var fontFamily = textElement.fontFamily;
textElement.fontFamily = fontFamily;
Public Property FontFamily As FontFamily
<textElement FontFamily="fontFamily" />
-or-
<textElement FontFamily="fontFamilyName[,fallbackFontFamilyName]" />
-or-
<textElement FontFamily="fontURI#fontFamily" />
Property Value
The preferred font family, or a primary preferred font family with one or more fallback font families. See FontFamily for default information.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for