RichText.GetParagraphFormat

table RichText.GetParagraphFormat ( 

string  ObjectName,

boolean OnlyConsistentAttributes = true )

Example 1

tbFormat = RichText.GetParagraphFormat("RichText1", true);

if (tbFormat) then
    if (tbFormat.Bulleted) then
        Dialog.Message("Format", "The text is bulleted.");
    else
        Dialog.Message("Format", "The text is not bulleted.");
    end
end

Determines if the selection text in the richtext object named "RichText1" is bulleted and returns the result in a dialog message.

See also:  Related Actions