AutoPlay Media Studio 9

Paragraph.SetProperties

Paragraph.SetProperties

This is the first topic This is the last topic  

Paragraph.SetProperties

This is the first topic This is the last topic  

OverviewExamples

Paragraph.SetProperties (

string ObjectName,

table Properties )

Example 1

-- Prompt the user for a text file to load

sLoadFileName = Dialog.FileBrowse(true, "Load TXT File", "", "All Files (*.*)|*.*|", "", "", false, false)[1];

 

-- Load the selected file into a string

sString = TextFile.ReadToString(sLoadFileName);

 

-- Initialize property table

tProperties = {Text=sString};

 

-- Set the properties of a paragraph object

Paragraph.SetProperties("Slogan", tProperties);

Loads the contents of a file selected by the user into a paragraph object.

See also: Related Actions


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us