Click or drag to resize
KaxEditorRealFontSizes Property
Gets the collection containing the custom real font sizes to put in the RealFontSize dropdown.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public EditorRealFontSizeCollection RealFontSizes { get; }

Property Value

Type: EditorRealFontSizeCollection
A string collection containing the custom real font sizes to put in the RealFontSize dropdown. Default is an empty StringCollection.
Remarks

The contents of this collection will override the default real font sizes available in the RealFontSize dropdown.

Examples
This example demonstrates how to add custom font sizes to the RealFontSize dropdown.
private void Page_Load(object sender, EventArgs e)
{
    KaxEditor1.RealFontSizes.Add("8pt")
    KaxEditor1.RealFontSizes.Add("9pt")
    KaxEditor1.RealFontSizes.Add("11pt")
    KaxEditor1.RealFontSizes.Add("13pt")
}
See Also