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.