Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.
Tue Mar 19, 2024 9:57 pm
Hello, How could I convert, through JAVA, html code specifically in the main body of the PDF doc, that is, leave the space later to introduce a header and footer?
Thanks for your inquiry. Please refer to this link to convert HTML to PDF:Convert HTML to PDF. You can create a PdfMargins object to define the margins of pdf page, such as "new PdfMargins (40,100, 40,100)". If you have any further questions, please feel free to write to us at any time.