Announcement

Collapse
No announcement yet.

Loading and Displaying a Text File

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Loading and Displaying a Text File

    AutoPlay Media Studio 5.0 Knowledge Base

    Loading and Displaying a Text File

    Document ID: IR10053
    The information in this article applies to:
    • AutoPlay Media Studio 5.0 Standard Edition
    • AutoPlay Media Studio 5.0 Professional Edition

    SUMMARY

    This article describes how to load and display a text file.

    DISCUSSION

    To display a large amount of text on your page use the TextFile.ReadToString action, and display the results in a paragraph object.

    To accomplish this in AutoPlay Media Studio 5.0:

    1. Choose Object > Paragraph from the menu.

    2. Insert the following code into any event in your application:

      text = TextFile.ReadToString("AutoPlay\\Docs\\large_text.txt");
      Paragraph.SetText("Paragraph1", text);

    MORE INFORMATION

    For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:

    • Program Reference | Actions | TextFile | TextFile.ReadToString

    KEYWORDS: AutoPlay Media Studio 5.0, Open, Text, File, Paragraph


    Last reviewed: September 26, 2003
    Copyright © 2003 Indigo Rose Corporation. All rights reserved.
Working...
X