I am mail merging a word document, i then save that document as a temporary file, kill the word document from memory, then use
new DocToPDFConverter().ConvertToPDF("tempdoc.docx").Save("temppdf.pdf");
to convert, then use
PdfViewerControl1.Load("temppdf.pdf");
to load the document into the instance i have in my wpf form.
if the document has a lot of pages (300+) the merging/conversion and dispay goes incedibly slow, and frequently end up swith an out of memory error.
is there any way to speed up the processes of conversion and merge? or any ways to use an alternative memory strategy for larger documents?