TextElement.FontFamily Property

Definition

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

FontFamily

The preferred font family, or a primary preferred font family with one or more fallback font families. See FontFamily for default information.

Applies to