TextElement.FontFamily Property


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" />
<textElement FontFamily="fontFamilyName[,fallbackFontFamilyName]" />
<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