I want to add multiple lines of text (each ending with \n) to the first paragraph in a document and then add a table after that. I can create the doc and table but there is only 1 line in the paragraph and the rest of the lines are there but covered up by the table.
doc = app.ActiveDoc;
var textLoc, tbl;
textLoc = new TextLoc (doc,MainFlowInDoc.FirstTextFrameInFlow.FirstPgf, 0);
Thanks. I also had to remove the "\n" at the end of each line as I stated "multiple lines of text (each ending with \n)". I guess a paragraph only had 1 "\n" by definition. I guess I will have to do a list instead. I am trying to list book and doc processed in the paragraph (one per line):