aspnet-devexpress-dot-web-dot-aspxrichedit-dot-aspxricheditfont-d7e51907.md
Specifies whether the font’s source files should be downloaded from Google Fonts.
Namespace : DevExpress.Web.ASPxRichEdit
Assembly : DevExpress.Web.ASPxRichEdit.v25.2.dll
NuGet Package : DevExpress.Web.Office
[DefaultValue(false)]
public bool UseGoogleFonts { get; set; }
<DefaultValue(False)>
Public Property UseGoogleFonts As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true, to download the source files from Google Fonts; otherwise, false.
|
See the Font Management topic to learn more about fonts in the ASPxRichEdit control.
<head runat="server">
<%-- register the fonts on the webpage --%>
<link href="https://fonts.googleapis.com/css?family=Lemonada|Roboto+Mono&display=block" rel="stylesheet" />
</head>
<dx:ASPxRichEdit ID="ASPxRichEdit1" runat="server" WorkDirectory="~\App_Data\WorkDirectory">
<Settings>
<Fonts>
<FontCollection>
<dx:ASPxRichEditFont FontFamily="Lemonada" Name="Lemonada" UseGoogleFonts="true" />
<dx:ASPxRichEditFont FontFamily="Roboto Mono" Name="Roboto Mono" UseGoogleFonts="true" />
</FontCollection>
</Fonts>
</Settings>
</dx:ASPxRichEdit>
See Also