- Home
- Forum
- ASP.NET Web Forms (Classic)
- Doc to PDF : add pdf as an Attachment
Doc to PDF : add pdf as an Attachment
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.
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.
SIGN IN To post a reply.
8 Replies
VS
Vijayakumar S
Syncfusion Team
August 14, 2009 11:54 AM UTC
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
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
PN
Phuoc Nguyen
March 25, 2010 12:03 AM UTC
Hi Vijay,
What namespace / dll should I reference to use DocToPDFConverter?
Thanks,
Phuoc
What namespace / dll should I reference to use DocToPDFConverter?
Thanks,
Phuoc
AD
Administrator
Syncfusion Team
March 26, 2010 05:57 AM UTC
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
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
PN
Phuoc Nguyen
March 31, 2010 07:12 AM UTC
Hi Manigandan,
Is the doc to pdf solution available to SilverLight? If so what libraries do I reference?
Thanks,
Phuoc
Is the doc to pdf solution available to SilverLight? If so what libraries do I reference?
Thanks,
Phuoc
PR
Poornima R
Syncfusion Team
March 31, 2010 09:35 AM UTC
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
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
HR
Héctor Reyes
September 12, 2014 07:59 PM UTC
"The file you are looking for is not available..."
Hi, can you upload the file again :D ??
"The file you are looking for is not available..."Hi, can you upload the file again :D ??
klç~ç
MJ
Mohanaselvam Jothi
Syncfusion Team
April 5, 2018 11:43 AM UTC
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
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
SIGN IN To post a reply.
- 8 Replies
- 8 Participants
-
VK Vinod K Bobba
- Aug 13, 2009 11:56 PM UTC
- Apr 5, 2018 11:43 AM UTC