Adding text with linefeeds?

Home Forums WordprocessingML Adding text with linefeeds?

This topic contains 0 replies, has 1 voice, and was last updated by  Myko 10 months, 3 weeks ago.

Viewing 1 post (of 1 total)
  • Author
  • #4436



    I have a problem with adding text to a table cell:
    I have a list of string (List<string>, that I want to add into a cell that contains a textbox.
    I got a XElement “row” that epresents the row into which I want to write the text.
    Now I go through the descendents(w:tc) of this row and compare the values of the textboxes until I find the “right” cell to put the text into.
    How can I add the text into this cell?

    List<string> text = {“first line”,”second line”, “third line”}

    The table is a simple one row two columns table.

    After inserting the text it should look like:

    | first line | |
    | second line | |
    | third line | | |________________________________________________________________________

    Can anyone help?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.