Ephox Home Page Ephox Home Page  
Search
Buy/Upgrade
 
 Developers
Developers Home
EditLive! for Java
EditLive! for Windows
System Requirements
Getting Started
Integration Samples
Articles
API Reference
EditLive! for XML
Discussion Forums

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

 

 

Copyright © 1999-2005 Ephox Corporation. All Rights Reserved. 'Ephox' is a registered trademark of Ephox Corporation.
Java and the Java Powered logo are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.