Allows to determine the quality of the JPEG images in the converted PDF.Allows to determine the quality of the charts in the converted PDF.Total number of pages may vary based on unsupported elements in the converted PDF document when compare to Word document.Ĭustomizing the Word document to PDF conversionĮssential DocIO allows you to customize the Word to PDF conversion using DocToPDFConverter class with the below options:.ChartToImageConverter is supported from.Initializing the ChartToImageConverter is mandatory to convert the charts present in the Word document to PDF. Otherwise the charts will not be exported to the converted PDF.You can download a complete working sample from GitHub. Save ( "WordtoPDF.pdf" ) 'Close the instance of document objects pdfDocument. ConvertToPDF ( wordDocument ) 'Save the PDF file pdfDocument. ChartToImageConverter = New ChartToImageConverter () 'Create an instance of DocToPDFConverter Dim converter As New DocToPDFConverter () 'Convert Word document into PDF document Dim pdfDocument As PdfDocument = converter. Docx ) 'Initialize chart to image converter for converting charts during Word to pdf conversion wordDocument. 'Load an existing Word document Dim wordDocument As New WordDocument ( "Template.docx", FormatType. The following code snippet illustrates how to convert a Word document into PDF document. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |