<LzTextFormat>

Formats rich text

JavaScript: LzTextFormat

Extends Node

This object is used to generate values that are passed to the setTextFormat method of the richinputtext class. This class is intended to be used from script, not as a tag (although as it is currently implemented, including this tag is syntactically correct). In a future release this will be reimplemented as as script-only class.

Attributes
Name Usage Type (Tag) Type (JS) Default Category
align Tag & JS expression any   setter

bold Tag & JS boolean Boolean   setter

color Tag & JS color Number   setter

font Tag & JS string String   setter

indent Tag & JS expression any   setter

italic Tag & JS boolean Boolean   setter

leading Tag & JS expression any   setter

leftmargin Tag & JS expression any   setter

rightmargin Tag & JS expression any   setter

size Tag & JS expression any   setter

target Tag & JS string String   setter

underline Tag & JS boolean Boolean   setter

url Tag & JS string String   setter


Attributes inherited from Node

class, classroot, cloneManager, datapath, defaultplacement, id, ignoreAttribute, ignoreplacement, immediateparent, initstage, name, nodeLevel, onconstruct, oninit, parent, placement, subnodes


Methods

construct()
LzTextFormat.construct()


toHTML()
LzTextFormat.toHTML()

Creates an html tag matching this format.



Methods inherited from LzNode

animate, applyConstraint, applyData, childOf, completeInstantiation, construct, createChildren, dataBindAttribute, destroy, determinePlacement, getAttribute, getOption, getUID, init, lookupSourceLocator, searchImmediateSubnodes, searchSubnodes, setAttribute, setDatapath, setID, setName, setOption


Events

Events inherited from LzNode

onconstruct, ondata, oninit