The Font Size dropdown of CuteEditor by default displays a predefined set of
font Sizes. You can easily modify this default set using the following methods.
|
1: Edit Dropdown Configuration file (Common.config).
You can modify the FontSize element to create your own font size list. Example 1:
Now the Font Size dropdown contains only 1, 2and 5.
<FontSize> Now the Font Size dropdown contains only 10x, 12px and 14px.
|
|
Example:
<%
Dim editor Set editor = New CuteEditor editor.ID = "Editor1" 'Programmatically populate the Font Size dropdown. editor.FontSizesList="2,3,4" editor.Text = "Hello World" editor.Draw() %>
|