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: Vudozilkree Mazular
Country: Armenia
Language: English (Spanish)
Genre: Life
Published (Last): 20 February 2018
Pages: 192
PDF File Size: 11.84 Mb
ePub File Size: 4.16 Mb
ISBN: 511-4-26825-822-4
Downloads: 90251
Price: Free* [*Free Regsitration Required]
Uploader: Malataxe

Understand that English isn’t everyone’s first language so be lenient of bad spelling and grammar. When answering a question please: Stack Overflow works best with JavaScript enabled. If you imagine document A has two tables at the end of the document and exportasfiedformat B these two tables have been nested – i.

Hi Tom, Many thanks for your response. Sign up or log in Sign up using Google. Chances are they have and don’t get it. Help us improve MSDN. FixedFormatExtClassPtr — A variant that gives a pointer to an add-in that provides an alternate implementation of code.

Hi, I have to convert the word document.

How to convert word document to pdf. Articles Quick Answers Messages Use my saved content filters. I also cannot find any information regarding the message “Finding Internal Hyperlink targets” to work out whats causing it to fail in this circumstance.


[Solved] Print Word File to PDF – CodeProject

It’s also unsupported by Microsoft, and may violate your Office license. Insults are not welcome.

The question is solved already! The default is true. Grateful for any help anna Word. Is there anyway to debug this?

How to export Word 2007 document to PDF and/or XPS?

Can you build a test document with a link to a non-existent url site? If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem.

How to convert word document to pdf in C. Tuesday, May 1, 5: Browser symbol seems like loading, loading How to convert a word document to a pdf. Your email address will not be published. Word to PDF conversion. Specifies the ending page number, if the Range parameter is set to wdExportFromTo.

As I say this usually works with this parameter just not for this particular compared document. If you set this parameter to truethe resulting files are more reliably self-contained but may be larger or show more visual artifacts due to the restrictions of the format.


I could reproduce the hang while doing ExportAsFixedFormat. Why do you post an answer to a question from may?

Saravanan 4, 35 Treat my content as plain text, not as HTML. If Falsethe font is referenced, and the viewer’s computer substitutes an appropriate font if the authored one is not available. Is there some other reason you want the change tracks to show up on the PDF version?

Yes it is intended behaviour. Hi We have narrowed it down exporttasfixedformat a nested tabloe within a table.

Sign up using Email and Password. Specifies whether to include a bitmap of the text.

Use Word to make a PDF containing pictures in C#

There might be some time delay, thanks for your patience. We can save the compare results as a DOCX – see skydrive for file called Compare and it does not crash.

Thursday, May 17, 7: