October 2005
Intermediate to advanced
1376 pages
27h 40m
English
Object
|
+-TextFormat
public class TextFormat
extends ObjectThe TextFormat class represents character formatting information. Use the TextFormat class to create specific text formatting for text fields. You can apply text formatting to both static and dynamic text fields. Some properties of the TextFormat class are not available for both embedded and device fonts.
You must use the constructor new TextFormat() to create a TextFormat object before calling its methods.
You can set TextFormat parameters to null to indicate that they are undefined. When you apply a TextFormat object to a text field using TextField.setTextFormat(), only its defined properties are applied, as in the following example:
this.createTextField("my_txt", this.getNextHighestDepth(), ...Read now
Unlock full access