home *** CD-ROM | disk | FTP | other *** search
/ The Mac 13 / the-mac-13.iso / Shareware City / Demos / TextPak Demo / Text Items / TextPak_Text Class < prev    next >
Encoding:
Text File  |  1995-05-06  |  561 b   |  4 lines  |  [TEXT/MPS ]

  1. {Body Text}{Emphasise}TextPak_Text{Body Text} is the TextPak base class; it contains the code for formatting and rendering text on-screen. There are two main methods of the TextPak_Text class:
  2. {Body Text}{Emphasise}DisplayText(){Body Text} allows you to display a text string at the specified position within the holding object; you also specify the width to word wrap at.
  3. {Body Text}{Emphasise}DisplayFile(){Body Text} displays text read from an external file.
  4. {Body Text}Style names can be embedded in the text, to control the appearance of the rendered text.