tag:blogger.com,1999:blog-27659513.post3887607461908728428..comments2023-12-31T23:44:24.149+02:00Comments on FCIH: Save As PDF using C#Ramy Mahroushttp://www.blogger.com/profile/06875204608099539248noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-27659513.post-27338021551145744212013-10-30T11:52:04.190+02:002013-10-30T11:52:04.190+02:00I use Aspose.Words for .NET Library for this purpo...I use Aspose.Words for .NET Library for this purpose and its a very good library, offers many code example that i can use in my .net application.Bhavananoreply@blogger.comtag:blogger.com,1999:blog-27659513.post-942414191688533742011-07-22T13:26:21.824+02:002011-07-22T13:26:21.824+02:00This comment has been removed by the author.TONY :Dhttps://www.blogger.com/profile/11066190188301702920noreply@blogger.comtag:blogger.com,1999:blog-27659513.post-83330576498586685592011-07-22T13:26:05.030+02:002011-07-22T13:26:05.030+02:00it's work for me!
wonderful!it's work for me!<br />wonderful!TONY :Dhttps://www.blogger.com/profile/11066190188301702920noreply@blogger.comtag:blogger.com,1999:blog-27659513.post-89861408028362302362011-02-16T13:03:11.744+02:002011-02-16T13:03:11.744+02:00@venkat
it's working with me. check that you ...@venkat <br />it's working with me. check that you have installed the office with that add-on in your serverAhmed Essawyhttps://www.blogger.com/profile/02553277669431055635noreply@blogger.comtag:blogger.com,1999:blog-27659513.post-14117343376333582452011-02-16T12:40:56.422+02:002011-02-16T12:40:56.422+02:00But it is not working in iis server. It is working...But it is not working in iis server. It is working locally why?<br /><br />Please mail to me aneesh.malasani@gmai.comAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-27659513.post-53585619093645731152010-12-28T09:10:08.362+02:002010-12-28T09:10:08.362+02:00its nice article using microsoft officeits nice article using microsoft officebaluhttps://www.blogger.com/profile/05005332414490138803noreply@blogger.comtag:blogger.com,1999:blog-27659513.post-34621583277209611612009-03-13T15:49:00.000+02:002009-03-13T15:49:00.000+02:00I had the same problem, save a document in PDF/A f...I had the same problem, save a document in PDF/A format. So I started the macro recored of word, I saved the document with the PDF/A option and stopped the macro recored. The output was:<BR/><BR/>Sub Macro1()<BR/>'<BR/>' Macro1 Macro<BR/>'<BR/>'<BR/>ActiveDocument.ExportAsFixedFormat OutputFileName:= _<BR/> "C:\temp\test.pdf", ExportFormat:= _<BR/> wdExportFormatPDF, OpenAfterExport:=True, OptimizeFor:= _<BR/> wdExportOptimizeForPrint, Range:=wdExportAllDocument, From:=1, To:=1, _<BR/> Item:=wdExportDocumentContent, IncludeDocProps:=True, KeepIRM:=True, _<BR/> CreateBookmarks:=wdExportCreateNoBookmarks, DocStructureTags:=True, _<BR/> BitmapMissingFonts:=True, UseISO19005_1:=True<BR/>End Sub<BR/><BR/><B>I have VB!!!</B> So the C# version is:<BR/><BR/>document.ExportAsFixedFormat("C:\temp\test.pdf", WdExportFormat.wdExportFormatPDF, false,<BR/> WdExportOptimizeFor.wdExportOptimizeForPrint, WdExportRange.wdExportAllDocument, 1, 1, <BR/> WdExportItem.wdExportDocumentContent, true, true,<BR/> WdExportCreateBookmarks.wdExportCreateNoBookmarks, true, true, true, ref missing);<BR/><BR/>AquilaxAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-27659513.post-31572514706919132142009-03-10T23:22:00.000+02:002009-03-10T23:22:00.000+02:00Im in the same boat, how would one go about saving...Im in the same boat, how would one go about saving in PDF/A in this case. Would it be possible to pass some kind of argument or set some properties throught programming?<BR/><BR/>FrankAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-27659513.post-11321152391974787602008-05-02T17:42:00.000+03:002008-05-02T17:42:00.000+03:00Thanks for the article.A small question: don't you...Thanks for the article.<BR/>A small question: don't you know how can we specify the PDF options when saving. These options we can see when manually open Word and selecting "Save As -> PDF or XPS" menu item. Then there is "Options" button with additional options. Specifically I need the "ISO 19005-1 compliant (PDF/A)" option. It seems that when saving PDF programmatically, this option is unchecked. And this causes problems on some documents. Some software (e.g. Ghostscript) cannot operate with such PDF.<BR/><BR/>Thanks, ConstantineAnonymousnoreply@blogger.com