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.RegularFontUri Property

Specifies the URI of a file that contains the font in the regular style.

Namespace: DevExpress.Web.ASPxRichEdit

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

Declaration

[DefaultValue("")]
public string RegularFontUri { get; set; }

Property Value

Type Default Description
String

String.Empty

The URI of a file.

Remarks

See the Font Management topic to learn more about fonts in the ASPxRichEdit control.

<%-- register the font on the webpage --%>
<style type="text/css">
  @font-face {
    font-family: "Calibri";
    src: url(CalibriFont/Calibri.ttf);
  }
</style>
<dx:ASPxRichEdit ID="ASPxRichEdit1" runat="server" WorkDirectory="~\App_Data\WorkDirectory">
  <Settings>
    <Fonts>
      <FontCollection>
        <dx:ASPxRichEditFont FontFamily="Calibri" Name="Calibri"
          RegularFontUri="CalibriFont/calibri.ttf"
          BoldFontUri="CalibriFont/calibrib.ttf"
          ItalicFontUri="CalibriFont/calibrii.ttf"
          BoldItalicFontUri="CalibriFont/calibriz.ttf" />
      </FontCollection>
    </Fonts>
  </Settings>
</dx:ASPxRichEdit>
See Also