This project has moved and is read-only. For the latest updates, please go here.

generating a bulleted list

Feb 25, 2016 at 8:24 PM
Hi I'm having trouble generating a bulleted list. Here's what I'm doing
var bullets = doc.AddList("test", 0, ListItemType.Bulleted, null, false, true);
new List<string>{"bullet2", "bullet3"}.ForEach(i=> bullets.AddItem(doc.InsertParagraph(i)));
all this does is make a one bullet list then inserts 2 paragraphs under that, how do I continue the bulleted list?