ClearFontSizeList Method
Clears the list of font sizes available to end-users.
Applies To
EditLive Object
Syntax
| JavaScript |
object.clearFontSizeList();
|
Examples
JavaScript
The following example would clear the font size list available to the
end-users.
function EditLive1_onload() {
editLive1.setEditLiveMode( 'HTMLString' );
editLive1.clearFontList();
editLive1.loadFont( 'Times New Roman' );
editLive1.loadFont( 'Verdana' );
editLive1.clearFontColors();
editLive1.loadFontColor( 'blue' );
editLive1.loadFontColor( '#FF8C00' );
editLive1.clearFontSizeList();
editLive1.loadFontSize( '1' );
editLive1.loadFontSize( '3' );
}
Remarks
When this method is called using JavaScript it must begin with a lowercase
'c'.
New font sizes can be loaded using the LoadFontSize
method.
Calling this method will have no affect if the AllowFontSize
property is set to false.
Minimum Version
EditLive! 1.5 or greater.
See Also
|