Hi Every body
I am Developing a web site that will Convert word doc to pdf almost i have don it but word file styles are not Converted into Pdf how can i do that please help me
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Leon DPosted May 21, 2020, 8:17 PM
Kip HackmanPosted May 21, 2020, 9:17 AM
You can use LEADTOOLS Document Imaging SDK technology in your application.
https://www.leadtools.com/sdk/document/document-converter
Here is some sample code:
Nicholas BarnsPosted Apr 28, 2014, 5:40 AM
You will notice after the publishing of your website some issues may occur, as described on the above link.
I would suggest you to try this C# word automation alternative, I found it's quite easy to use.
Here is how you could use it:
Also note that you can easily export a PDF file in ASP.NET by streaming your file to the client's browser. Here is how you can achieve this:
Chestertonpdf ChestertonPosted Apr 8, 2014, 12:15 AM
karthi keyanPosted Nov 19, 2012, 2:31 AM
plz find the attachment and resolve the "value out of range" issue soon...........
Suthish NairPosted Mar 4, 2011, 2:15 PM
which Operating System using?
MS 2007
MS 2010
Use Application instead of Application Class
Microsoft.Office.Interop.Word.Application WordApp = new Microsoft.Office.Interop.Word.Application();
Refer my article with samples attached:
http://www.c-sharpcorner.com/uploadfile/suthish_nair/2906/
Suthish NairPosted Mar 4, 2011, 7:40 AM
Mohd AliPosted Mar 4, 2011, 6:18 AM
Suthish NairPosted Mar 4, 2011, 3:06 AM
Mohd AliPosted Mar 4, 2011, 1:49 AM
Suthish NairPosted Mar 3, 2011, 1:23 PM
Link1 Link2
Mohd AliPosted Mar 3, 2011, 6:05 AM
using Microsoft.Office.Interop.Word; every thing is working Proper but that method is not working wdFormatPDF; i am getting error like that
Error 2 'Microsoft.Office.Interop.Word.WdSaveFormat' does not contain a definition for 'wdFormatPDF' E:\ExcelSheetConverterSite\WordFile.aspx.cs 112 72 E:\ExcelSheetConverterSite\
Hirendra SisodiyaPosted Mar 3, 2011, 3:44 AM
so check that...
Suthish NairPosted Mar 3, 2011, 3:28 AM
Suthish NairPosted Mar 3, 2011, 3:20 AM
Mohd AliPosted Mar 3, 2011, 2:00 AM
Error 2 'Microsoft.Office.Interop.Word.WdSaveFormat' does not contain a definition for 'wdFormatPDF' E:\ExcelSheetConverterSite\WordFile.aspx.cs 112 72 E:\ExcelSheetConverterSite\
Mohd AliPosted Mar 3, 2011, 1:21 AM
Suthish NairPosted Mar 2, 2011, 1:44 PM
msdn forum