<textformat>
Formats rich text

JavaScript: lz.textformat
extends <node> » lz.Eventable »
An object to specify the format of a text object. Used only in Javascript by richinputtext.setTextFormat.

Attributes

Name Type (tag) Type (js) Default Category
align expression any   read/write
   
bold boolean boolean   read/write
   
color color Color   read/write
   
font string String   read/write
   
indent expression any   read/write
   
italic boolean boolean   read/write
   
leading expression any   read/write
   
leftmargin expression any   read/write
   
rightmargin expression any   read/write
   
size expression any   read/write
   
target string String   read/write
   
underline boolean boolean   read/write
   
url string String   read/write
   

Methods

construct()
textformat.construct(parent, args);
Parameter Name Type Description
parent    
args    

toHTML()
textformat.toHTML();
Creates an html tag matching this format.

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy