User Guide
TextFormat 1229
When TextField.getTextFormat() is invoked, a TextFormat object is returned with all of
its properties defined; no property is
null.
Availability: ActionScript 1.0; Flash Player 6
See also
setTextFormat (TextField.setTextFormat method), getTextFormat
(TextField.getTextFormat method)
Property summary
Modifiers Property Description
align:String A string that indicates the alignment of the paragraph.
blockIndent:Number A number that indicates the block indentation in
points.
bold:Boolean A Boolean value that specifies whether the text is
boldface.
bullet:Boolean A Boolean value that indicates that the text is part of a
bulleted list.
color:Number Indicates the color of text.
font:String The name of the font for text in this text format, as a
string.
indent:Number An integer that indicates the indentation from the left
margin to the first character in the paragraph.
italic:Boolean A Boolean value that indicates whether text in this
text format is italicized.
kerning:Boolean A Boolean value that indicates whether kerning is
enabled or disabled.
leading:Number An integer that represents the amount of vertical
space in pixels (called leading) between lines.
leftMargin:Number The left margin of the paragraph, in points.
letterSpacing:Number The amount of space that is uniformly distributed
between characters.
rightMargin:Number The right margin of the paragraph, in points.
size:Number The point size of text in this text format.
tabStops:Array Specifies custom tab stops as an array of non-
negative integers.