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

Font Sizes

You can repopulate the Font Size dropdown with the sizes from 1 to 7 (these are the browser supported values). You can set the FontSizes collection declaratively, programmatically and using the ToolsFile.

Adding to FontSizes Collection Declaratively

<telerik:RadEditor RenderMode="Lightweight" runat="server" ID="RadEditor1">
        <telerik:EditorFontSize Value="1" />
        <telerik:EditorFontSize Value="3" />
        <telerik:EditorFontSize Value="5" />

Adding to FontSizes Collection Programmatically

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


Using ToolsFile.xml

You can also populate the FontSizes dropdown using the ToolsFile, as shown in the example below:

    <tools name="MainToolbar" enabled="true">    
        <tool name="FontSize" />  

If you want to apply font sizes in pixels (px) or in points (pt) then use the Real Font Size dropdown.

In this article