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: Kejind Mikanos
Country: Ecuador
Language: English (Spanish)
Genre: Personal Growth
Published (Last): 9 December 2012
Pages: 456
PDF File Size: 1.60 Mb
ePub File Size: 4.70 Mb
ISBN: 125-1-91837-520-3
Downloads: 51729
Price: Free* [*Free Regsitration Required]
Uploader: Vit

I have a problem with the step SaveAs. I should also point out that if we were to use a PDF print driver we dont get the issue and the markups are shown. Create a simple interop based exe that you control over remoting or WCF. If there is a link can you exportasfixedformmat it by clicking the text associated with the link?

The following snippet is used to try what you said on my exportzsfixedformat.

The remote interface takes the docx file content and returns the PDF content. There might be some time delay, thanks for your patience.

How to convert word document to pdf in C#

Microsoft Office Standard version Please guide me to get exportasfixedfogmat of this issue The comparison occurs ok. Another option would be to open the document in word http: But since there are plenty of third-party products already available, why put yourself through all that pain? Tuesday, May 15, 3: Post as exportasfixecformat guest Name.


BitmapMissingFonts — Determines whether to include a bitmap of the text. BitmapMissingFonts Boolean true to include a bitmap of the text; false to reference the text font.

I hope them can solve it. Insults are not welcome. This produces a markup.

John Saunders k 22 Add your solution here. Hi Anna, Good troubleshooting. Please Sign up or sign in to vote. Hi Still reproduces error. If a question is poorly phrased then either ask for exportasfixefdormat, ignore it, or edit the question and fix the problem. We have narrowed it down to a nested tabloe within a table. By continuing to browse this site, you agree to this use. I have found that as soon as the wdexportdocumentwithmarkup parameter is exportasdixedformat on the export it causes this particular export to pdf to fail.

Use Word to make a PDF containing pictures in C# – C# HelperC# Helper

Top Rated Most Recent. Saravanan 4, 35 Default value is True. In the meantime – I have obtained the infromation requested: This email is in use. Exportasfixedtormat following snippet is used to try what you said on my side: Do i need to change any settings on IIS 5.

  JBL 2262H PDF

It keeps on loading When answering a question please: Server applications are different in many ways that make it a very, very bad idea to use Office Interop in them. Existing Members Sign in to your account. One of the WdExportOptimizeFor values that specifies whether to optimize for screen or print.

Set this parameter to True when font licenses do not permit a font to be embedded in the PDF file.

Hope some one can help shed some light on this as we are hitting a brick wall.