I am doing some heavy processing on a docx using Words for .net.
When the processing is done, I output the document with these lines:
line 368 = oDoc.Save("C:\Users\18300\Desktop\DocPdfDir.docx")
line 369 = oDoc.Save("C:\Users\18300\Desktop\DocPdfDir.pdf")
The docx is saved correctly, but the pdf looks like some of the processing has not been completed. The differences are on pages 13, 15 and 16. Page 13 should have a table, etc. Pages 15 and 16 have an index in which I have replaced the ': ' sequence with a tab (using Words).
If I just read the finalized docx file and then Save it, the pdf is fine.
Is there some closing of the document or maybe the builder that should be done to 'finalize' the document before creating the pdf?
Thanks for any help.