T > TextField.getNewTextFormat |  |

TextField.getNewTextFormat

TextField, TextField.getNewTextFormat, getNewTextFormat

Availability

Flash Player 6.

Usage

    TextField.getNewTextFormat()

Parameters

None.

Returns

A TextFormat object.

Description

Method; returns a TextFormat object containing a copy of the text field's text format object. The text format object is the format that newly inserted text, such as text inserted with the `replaceSel` method or text entered by a user, receives. When `getNewTextFormat` is invoked, the TextFormat object returned has all of its properties defined. No property is `null`.