Check this link -> convert doc to pdf in c#. It uses the . ExportAsFixedFormat(@”D:\”, WdExportFormat. ExportAsFixedFormat(@”D:\desktop\”, WdExportFormat. wdExportFormatPDF); } public nt wordDocument { get. C#. Hi all, is there a way to print a word file to pdf without using any third ExportAsFixedFormat(paramExportFilePath, paramExportFormat.

Author: Kizragore Shaktishicage
Country: Australia
Language: English (Spanish)
Genre: Education
Published (Last): 3 December 2013
Pages: 93
PDF File Size: 19.48 Mb
ePub File Size: 15.20 Mb
ISBN: 365-6-49552-520-5
Downloads: 33808
Price: Free* [*Free Regsitration Required]
Uploader: Nikosar

Thanks for your patience. Saravanan 4, 35 All things work fine on my side. It doesnt crash the document though. The question is solved already!

Read the question carefully. It will automatically add Microsoft. I have installed Office OK, I will involve some experts into this issue. Do i need to change any settings on IIS 5. Browser symbol seems like loading, loading The code is the same as in the previous example except when it comes to saving the file.

Serkan Hekimoglu 3, 5 29 A pointer to an implementation of the IMsoDocExporter interface that enables the document to be saved in a different fixed format. Word to PDF conversion. OutputFileName — The name of the file to create. The example Make a Word document containing pictures in C shows how to make a Word document containing pictures taken from selected files. If Truethe resulting files are more reliably self-contained but may be larger or show more visual artifacts due to the restrictions of the format.


This email is in use.

Datatable to Pdf file and Word file. Hi Anna, OK, I will involve some experts into this issue.

Print Word File to PDF

Friday, May 25, Its something they have always done. Exportasfixedforma applications are different in many ways that make it a very, very bad idea to use Office Interop in them.

For information on optional parameters, see Optional Parameters in Office Exportafixedformat. Hi We have narrowed it down to a nested tabloe within a table. Friday, April 27, Do you have a sample document that always exhibits the behavior? Provide an answer or move on to the next question.

Is PDF extension for office installed on the system?

[Solved] Print Word File to PDF – CodeProject

We can save the compare results as a DOCX – see skydrive for file called Compare and it does not crash. Default value is False. Worrd — The range to export. Monday, April 30, 7: Anwer Jamal 9-Sep 7: This produces a markup. It looks like something is embedded in this document but I am unsure how you are supposed to deal with it. Is there some other reason you want the change tracks to show up on the F# version?


Top Rated Most Recent.

The person who can authorise the release of the document is off for another week – so apologies for not getting this to you.

Do you need your password?

Use Word to make a PDF containing pictures in C#

Hi Tom, Many thanks for your response. Wednesday, May 16, 8: Printing report as PDF,Word, etc. Word for Developers https: We run this through word compare review tab. Default value is True.

OpenAfterExport Boolean true to open the new file automatically; otherwise, false. Thanks for sharing exportasfixxedformat. Chances are they have and don’t get it. I have a problem with the step SaveAs.

The following code shows the call to ExportAsFixedFormat.

I dont know what is the issue here