Interop - prevent a table wrapping over two pages in Word
问题 I am outputting multiple tables with a minimum of two lines of header information followed by 0 or several lines of data... My problem is that sometimes the tables wrap over the end of the page. How can I prevent this - is there a s property like doNotWrap' in MS Word tables? Here is the code I am using: // it's an Account list so what follows will be account data then transactions string[] sValues = pqRequests[s].Split('\t'); if (sValues[0]=="01") { iTable++; // output header info if