Load and Display a Text File (Metin Dosyası Yükle ve Göster)

guclusat

Tanınmış Üye
Süper Moderatör
Load and Display a Text File

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:

1. Choose Object > Paragraph from the menu.
2. Insert the following code into any event in your application:

Kod:
text = TextFile.ReadToString("AutoPlay\\Docs\\large_text.txt");
Paragraph.SetText("Paragraph1", text);
 
Geri
Yukarı