![]() You can download a complete working sample from GitHub. Save ( "WordtoPDF.pdf" ) 'Closes the instance of document objects pdfDocument. ConvertToPDF ( wordDocument ) 'Saves the PDF file pdfDocument. ChartToImageConverter = New ChartToImageConverter () 'Creates an instance of the DocToPDFConverter Dim converter As New DocToPDFConverter () 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter. Docx ) 'Initializes the ChartToImageConverter for converting charts during Word to pdf conversion wordDocument. 'Loads an existing Word document Dim wordDocument As New WordDocument ( "Template.docx", FormatType. ![]() The following code example illustrates how to convert a Word document into PDF document. using Syncfusion.OfficeChartToImageConverterįor ASP.NET Core, Blazor, Xamarin, WinUI, and.The following namespaces are required to compile the code:įor WPF, Windows Forms, ASP.NET and ASP.NET MVC applications ![]() Refer to the following links for assemblies required based on platforms to convert the Word document to PDF. It works perfectly when you create an input Word document from scratch or load an existing Word document and easily converted into PDF. The Word document files are converted as a PDF document with a few lines of code by using the Essential DocIO. 24 minutes to read Converting Word to PDF
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |