![]() You can set multiple rendering options like header, footer, margin, paper size, and much more. HTML Fragment helps to add an HTML string at the header of the PDF file. Why we are converting to HTML, IronPDF will assist us in adding HTML Fragments in the document before converting it see below. This can be done manually using the "Save As" method or achieved using custom coding. We have to convert the Word file to HTML then, we can convert it to PDF. NuGet\Install-Package IronPdf Step 2. Word document To HTML In the shell that opens, paste the following and press enter: See the screenshot this can be downloaded and manually installed on the project or GAC.įor a comprehensive rundown of IronPDF's features, compatibility, and downloads, please check out IronPDF on NuGet's official website.Īlternatively, in Visual Studio, navigate to the 'Tools' menu at the top and select 'NuGet Package Manager' and choose 'Package Manager Console' from the menu. Click OK on any dialog boxes that come up.Īnother option is to install the IronPdf DLL download and add it to the project. In Visual Studio, right-click on your project's Solution Explorer and select `Manage NuGet Packages for Solution.įrom there, simply search for IronPDF and install the latest version of your solution to use its reference. We must add the library to convert Word files to our project solution. A stable internet connection to install the IronWordToPdf library for PDF conversion. ![]()
0 Comments
Leave a Reply. |