We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Doc to PDF : add pdf as an Attachment

Thread ID:

Created:

Updated:

Platform:

Replies:

88884 Aug 13,2009 07:56 PM Apr 5,2018 07:43 AM ASP.NET Web Forms (Classic) 8
loading
Tags: DocIO
Vinod K Bobba
Asked On August 13, 2009 07:56 PM

Hi,


I am looking for some help, where I want to add the pdf generated as an attachment to my mail ( in C#.NET).

I am using your sample to create generate the pdf:

WordDocument wordDoc = new WordDocument("sample.doc");
DocToPDFConverter converter = new DocToPDFConverter();
// Convert word document into PDF document
PdfDocument pdfDoc = converter.ConvertToPDF(wordDoc);
// Save the pdf file
pdfDoc.Save("DoctoPDF.pdf");


Appreciate your suggestions.

Vijayakumar S [Syncfusion]
Replied On August 14, 2009 07:54 AM

Hi Vinod,

Thank you for using Syncfusion products.

We have prepared a sample for your requirement. Could you please try running the sample in the below link and let us know if this helps.

http://files.syncfusion.com/support/DocIO.Windows/59070/PDFasAttachment.zip

Please let us know if you have any questions.

Regards,
Vijay

Phuoc Nguyen
Replied On March 24, 2010 08:03 PM

Hi Vijay,

What namespace / dll should I reference to use DocToPDFConverter?

Thanks,

Phuoc

Administrator [Syncfusion]
Replied On March 26, 2010 01:57 AM

Hi Phuoc,

Thank you for using Syncfusion products.

For converting from a Word document to a PDF document kindly include the following "Assemblies"

1.Syncfusion.DocToPDFConverter.Base.dll
2.Syncfusion.DocIO.Base.dll
3.Syncfusion.Pdf.Base.dll
4.Syncfusion.Core.dll
5.Syncfusion.Compression.Base.dll

and following "Namespace"

1.Syncfusion.DocIO;
2.Syncfusion.DocIO.DLS;
3.Syncfusion.DocToPDFConverter;
4.Syncfusion.Pdf;

For more information please refer the following link.
http://help.syncfusion.com/ug_81/Reporting_DocIO/DocToPDF.html

Please let us know if you have any questions.

Regards,
Manigandan


Phuoc Nguyen
Replied On March 31, 2010 03:12 AM

Hi Manigandan,

Is the doc to pdf solution available to SilverLight? If so what libraries do I reference?

Thanks,

Phuoc

Poornima R [Syncfusion]
Replied On March 31, 2010 05:35 AM

Hi Phuoc,

Thank you for your interest in Syncfusion Products.

Currently in Silverlight we have only doc format support. We have implemented word2007 docx format support in Silverlight and it is included in our next release which is going to be released by the third week of April 2010.We do not have the support for the conversion part as follows
1.Doc to Pdf
2.Doc to Html
3.Html to Doc
4.Doc to RTF
5.Doc to Image

We might implement this feature in our future releases.Sorry for the inconvenience caused.

Please let us know if you have any further queries.

Regards,
Poornima

Héctor Reyes
Replied On September 12, 2014 03:59 PM

"The file you are looking for is not available..."

Hi, can you upload the file again :D ??


Roberto
Replied On April 4, 2018 07:38 AM

"The file you are looking for is not available..."

Hi, can you upload the file again :D ??


klç~ç

Mohanaselvam  Jothi [Syncfusion]
Replied On April 5, 2018 07:43 AM

Hi Roberto,

Thank you for your update.

We have prepared a sample application to convert Word document into PDF and to get the generated PDF as an attachment. Please find the sample from the below location and let us know if this helps you:
http://www.syncfusion.com/downloads/support/forum/88884/ze/WordToPDF2091399771.zip

Kindly refer the below UG documentation link to know more about Word to PDF conversion using DocIO:
https://help.syncfusion.com/file-formats/docio/conversion#converting-word-document-to-pdf


Please let us know if you have any other questions.

Regards,
Mohanaselvam J
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;