![]() Ref oFalse, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ![]() Document doc = (ref filename, ref oMissing, Application wordApplication = new .Application() This code works fine for me with text, tables, graphs and images in word document. Kindly let me know if question is not clear. How can I embed the document into pdf.? How do we usually handle this kind of situations. But the document which i embedded is not getting embedded into the generated pdf. Ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing) Ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, Now When I tried to save this word document as pdf, using d.SaveAs(ref filename, ref filetype, ref oMissing, ref oMissing, ref oMissing, Ref index, ref oIconLabel, ref oMissing) Ref oClassType, ref oFileDesignInfo, ref oFalse, ref oTrue, ref oMissing, Range r = d.Bookmarks.get_Item(ref eod).Range Object oClassType = "AcroExch.Document.7" Object oIconLabel = new FileInfo(file_path).Name Problems Raised: I have successfully embedded a pdf into my document using following code. Process adapted: Since I am using word 2011 and word 2007 (after installing saveaspdf plugin), I am saving the document in pdf using "save as" and then file type as pdf. As a next step, I am looking to convert this into pdf. ![]() I am successful in inserting tables, headers, footers, diagrams.most of the things are working fine. Background: I am trying to generate a word document using c# and Interop. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |