I am trying to create a ListStyle that is able to align the list item text when the item text spans multiple lines.
ListStyle listStyle = null;
listStyle = (ListStyle)document.AddListStyle(ListType.Bulleted, "StyleName");
listStyle.Levels[0].TabSpaceAfter = 18F;
listStyle.Levels[0].TextPosition = 18F;
and then I apply this style to the paragraph like this:
para = section.AddParagraph();
para.ListFormat.ApplyStyle("li");
para.AppendText("Item Text");
I think this should work, but it doesn't. Is there a problem with this functionality, and if not, what is the proper way to align the text.
thanks,