Skip to main content

ASPxRichEditFont.BoldItalicFontUri Property

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

Namespace: DevExpress.Web.ASPxRichEdit

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

NuGet Package: DevExpress.Web.Office

Declaration

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