Table of Contents

Method RenumberList

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

RenumberList(bool)

Starts or continues the numbering of the list the first selected paragraph is in, as the Start and Continue items of Bullets and Numbering do, one undo step: Start numbers that paragraph 1 (or a, A) and the paragraphs of the same list after it from there, so that with the caret in Beam, 1.\tPlate\P2.\tBeam\P3.\tColumn becomes 1.\tPlate\P1.\tBeam\P2.\tColumn; Continue numbers it on from the paragraph before, which puts the second back. A list is the run of paragraphs with the same kind of label. Nothing is done, and false answered, for a paragraph with no number or letter label (none, or a bullet), or for Continue where the paragraph before has not the same kind of label.

public bool RenumberList(bool continuePrevious)

Parameters

continuePrevious bool

True for Continue, false for Start.

Returns

bool

Whether any label changed.