• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Validating and Formatting Data > USING TEXTFORMAT OBJECTS

USING TEXTFORMAT OBJECTS

Using HTML tags in strings of text is not the only way to style text dynamically: TextFormat objects afford you all of the formatting power of HTML—and more!

As nothing more than special objects containing formatting properties for character and paragraph styles, TextFormat objects offer similar functionality to cascading style sheets (CSS). Once a TextFormat object has been defined, that object is then “applied” to a text field or section of text in a field, causing the affected text to take on the formatting style described by the object. A TextFormat object can be created and defined in one of two ways. Take a look at the following syntax:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint