I'm having difficulty with creating a word document from a PDF.
I have a PDF stream , and i have tried saving it as a doc format , but then i open it i loose most of the content of the PDF and jsut have the same page repeated again and again. Code Sample:
So now i have tired to save it as HTML first an then load it into a word document , but when i open this attempt all my images and text are truncated. See code sample below:
//// Read that HTML file into a Word document (DOC) object.
Words.LoadOptions loadOptions = new Words.LoadOptions();
loadOptions.LoadFormat = Words.LoadFormat.Html;
thisDocument = new Words.Document("C:\\Temp\\MyTempDoc.html", loadOptions);
Does anyone have any ideas as to why this is happening or have a work-around ? Much appreciated ,