ASPxRichEditFont.UseGoogleFonts Property
Specifies whether the font’s source files should be downloaded from Google Fonts.
Namespace: DevExpress.Web.ASPxRichEdit
Assembly: DevExpress.Web.ASPxRichEdit.v24.1.dll
NuGet Package: DevExpress.Web.Office
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Remarks
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