Paragraph.GetProperties

table Paragraph.GetProperties ( 

string ObjectName )

Example 1

-- Prompt the user for a location to save to
sSaveFileName = Dialog.FileBrowse(false, "Save Text As", "", "All Files (*.*)|*.*|", "", "", false, false)[1];

-- Get the paragraph properties
tProperties = Paragraph.GetProperties("Slogan");

-- Get the currently displayed text
sText = tProperties.Text

-- Output the text to a file
TextFile.WriteFromString(sSaveFileName, sText, false);

Saves the contents of a paragraph to a file of the user's choosing.

See also:  Related Actions