OverviewExamples
RichText.SetSelectionFormat ( |
boolean ApplyToWord = false ) |
-- Create a table for the formatting.
tbFormat = {Bold=true};
-- Set the selected text to bold.
RichText.SetSelectionFormat("RichText1", tbFormat, false);
Sets the selected text in the "RichText1" richtext object to Bold.
See also: Related Actions