ASPxRichEditFont.ItalicFontUri Property
Specifies the URI of a file that contains the font in the italic style.
Namespace: DevExpress.Web.ASPxRichEdit
Assembly: DevExpress.Web.ASPxRichEdit.v24.1.dll
NuGet Package: DevExpress.Web.Office
Declaration
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