We recommend exporting your logo as an SVG file. If you use an SVG file and name it logo.svg, you can drop it in the Invoice folder you downloaded before, and it’ll replace our placeholder logo. The company name is defined in text inside our template. The logo is the purplish-blue circle with an ampersand inside it. To insert a header into the file, you must assign the pspdfkit-header ID to the first child element inside the body - see line 263 of the index.html file. You can use this section to brand your document by adding your logotype and add important information such as your address, VAT ID, or website URL, to name a few.įirst, let’s take a look at how we added the header and how you can adjust it by adding your own company logo, name, and information. Headers are a useful way to add information about your brand and company on every page. Open the index.html file in your preferred code editor to follow along. Your downloaded folder should contain the following files: We’ll be taking a closer look at the Invoice template to see how you can add and modify its header and footer.īefore we dig in, please download the free HTML invoice template. To help you get started with our PDF Generation SDK, we created a series of free HTML templates. You can use it to add a custom header and footer section to your HTML file that will repeat across all the pages in the resulting PDF. In this article, we’ll look at how we recently enhanced our PDF Generation SDK by adding the option of headers and footers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |