Repository navigation
C# WordToPDF.dll
Jack Hu edited this page Apr 28, 2020
·
1 revision
https://www.c-sharpcorner.com/UploadFile/698727/convert-word-file-to-pdf-using-C-Sharp/
Word2Pdf objWorPdf = new Word2Pdf();
string backfolder1 = "D:\\WOrdToPDF\\";
string strFileName = "TestFile.docx";
object FromLocation = backfolder1 + "\\" + strFileName;
string FileExtension = Path.GetExtension(strFileName);
string ChangeExtension = strFileName.Replace(FileExtension, ".pdf");
if (FileExtension == ".doc" || FileExtension == ".docx")
{
object ToLocation = backfolder1 + "\\" + ChangeExtension;
objWorPdf.InputLocation = FromLocation;
objWorPdf.OutputLocation = ToLocation;
objWorPdf.Word2PdfCOnversion();
}
- SharePoint Maintain
- SharePoint Migration
- SharePoint PowerShell
- SharePoint eBook
- SharePoint Installation
- Pnp Guide
- Authenticate
- Get SharePoint list ItemCount
- Search User
- Set up an Office 365 developer subscription
- SharePoint Designer encountered an error generating the task form
- SharePoint JSGrid
- SharePoint ListItemPosition
- Sharepoint login as antother user
- Sharepoint Issues
- Make Attachments Mandatory In SharePoint Lists
- Datatables
- Drag
- FileSaver base64 string to file
- Jquery Zip files
- Convert base64 string to blob
- generate word
- Import Export Excel
- Remote Debug Tool
- Save base64string as file
- Linq
- HtmlToPdf
- Export to Excel
- Send Email with attachment
- Common function
- Download File
- Access SharePoint Online using Postman
- Byte[]和文件FileStream相互转化
- Generate File wiht UTF8 BOM
- Generate word
- Regex replace
- WordToPDF.dll
- ZIPFile
- 读写Excle Word
- EPPLUS
- Generate Word by Template
- Lotus Notes RichText
- SqlTransaction
- Using the Exchange Webs Services API
- VS Migrate 2010 to 2013 error
- SQL Command