Table of Contents

Method PromoteList

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

promoteBy int
startRange long
endRange long
defName string
flags RichTextSetStyleFlags
specifiedLevel int

Returns

bool

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.