Manually you can edit the cell of a custom table in an IDW and put a carriage return in, and the cell shows the two lines.
If you put a \n or \r in the string of a C++ call to...
pCell->put_Value ("1st line\n2nd line")
...the \n is removed and the whole of the text is put on one line.
So manually it works, but I can't find out programatically how to do it. Is there a special code which says "new line in this cell"?
Another point is that if the string does contain a \n or \r then the height of the columns changes, even though the string stays one line.
Solved! Go to Solution.
Solved by xiaodong_liang. Go to Solution.
Magic! \r\n in the C++ string gives me the new line in an individual custom table cell. Thanks!