KaxEditorRealFontSizes Property |
Gets the collection containing the custom real font sizes to put in the RealFontSize dropdown.
Namespace: Kettic.AspNet.ControlsAssembly: 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; }
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
Public ReadOnly Property RealFontSizes As EditorRealFontSizeCollection
Get
public:
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
property EditorRealFontSizeCollection^ RealFontSizes {
EditorRealFontSizeCollection^ get ();
}
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
member RealFontSizes : EditorRealFontSizeCollection with 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.
RemarksThe 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")
}
Private Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load
KaxEditor1.RealFontSizes.Add("8pt")
KaxEditor1.RealFontSizes.Add("9pt")
KaxEditor1.RealFontSizes.Add("11pt")
KaxEditor1.RealFontSizes.Add("13pt")
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also