Method PromoteList
PromoteList(int, long, long, string, RichTextSetStyleFlags, int)
Promotes or demotes the paragraphs in the given range.
bool PromoteList(int promoteBy, long startRange, long endRange, string defName, RichTextSetStyleFlags flags = RichTextSetStyleFlags.WithUndo, int specifiedLevel = -1)
Parameters
promoteByintstartRangelongendRangelongdefNamestringflagsRichTextSetStyleFlagsspecifiedLevelint
Returns
Remarks
A positive promoteBy produces a smaller indent, and a negative number
produces a larger indent. Pass flags to determine how the attributes are set.