Skip to main content

ASPxRichEditFont.BoldFontUri Property

Specifies the URI of a file that contains the font in bold.

Namespace: DevExpress.Web.ASPxRichEdit

Assembly: DevExpress.Web.ASPxRichEdit.v22.1.dll

Declaration

[DefaultValue("")]
public string BoldFontUri { 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