Essential PDF allows you to convert an entire workbook or a single worksheet into PDF document. Converting Excel documents to PDFĮxcelToPdfConverter is responsible for converting an Excel document into 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 to file system pdfDocument. OptimizeIdenticalImages = True 'Convert Word document into PDF document Dim pdfDocument As PdfDocument = converter. ImageResolution = 640 'Set true to optimize the memory usage for identical images converter. ImageQuality = 100 'Set the image resolution converter. Normal 'create an instance of DocToPDFConverter - responsible for Word to PDF conversion Dim converter As New DocToPDFConverter () 'Set the image quality converter. ChartToImageConverter = New ChartToImageConverter () 'Set the scaling mode for charts wordDocument. Docx ) 'Initialize chart to image converter for converting charts during Word to pdf conversion wordDocument. 'Loads an existing Word document Dim wordDocument As New WordDocument ( "Sample_Image.docx", FormatType. Save ( "WordtoPDF.pdf" ) //close the instance of document objects. ConvertToPDF ( wordDocument ) //Save the PDF file to file system. OptimizeIdenticalImages = true //Convert Word document into PDF document. ImageResolution = 640 //Set true to optimize the memory usage for identical images. ImageQuality = 100 //Set the image resolution. DocToPDFConverter converter = new DocToPDFConverter () //Set the image quality. Normal //create an instance of DocToPDFConverter - responsible for Word to PDF conversion. ChartToImageConverter = new ChartToImageConverter () //Set the scaling mode for charts. Docx ) //Initialize chart to image converter for converting charts during Word to pdf conversion. WordDocument wordDocument = new WordDocument ( "Sample_Image.docx", FormatType. Allows to reduce the Main Memory usage in Word to PDF conversion by reusing the identical images.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |