All docs
V20.2
21.1 (EAP/Beta)
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxRichEditFont.UseGoogleFonts Property

Specifies whether the font's source files should be downloaded from Google Fonts.

Namespace: DevExpress.Web.ASPxRichEdit

Assembly: DevExpress.Web.ASPxRichEdit.v20.2.dll

Declaration

[DefaultValue(false)]
public bool UseGoogleFonts { get; set; }

Property Value

Type Default Description
Boolean

false

true, to download the source files from Google Fonts; otherwise, 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