New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Real Font Sizes

The Real Font Sizes dropdown displays a predefined set of font sizes in pixels and points. The dropdown is populated from the RealFontSizes Collection. You can add to the RealFontSizes collection declaratively, programmatically and using the ToolsFile.

Using the RealFontSizes Collection Declaratively

<telerik:RadEditor RenderMode="Lightweight" runat="server" ID="RadEditor1">
        <telerik:EditorRealFontSize Value="12pt" />
        <telerik:EditorRealFontSize Value="18pt" />
        <telerik:EditorRealFontSize Value="22px" />

Using RealFontSizes Programmatically

Use the RealFontSizes collection Add() method to include new items in the list.


Using the ToolsFile

You can also populate the Real Font Sizes dropdown using the ToolsFile.xml, as shown in the example below:

    <tools name="MainToolbar" enabled="true">
        <tool name="RealFontSize" />
        <item value="12pt"></item>
        <item value="18pt"></item>
        <item value="22px"></item>
In this article
Not finding the help you need? Improve this article