Page

Your template can include only one Page component. Within this component, you’ll set up global configurations such as:

  • Font family

  • PDF width

  • Gap: The space between components

  • Vertical Margin: Separate settings for the first page and subsequent pages

The PDF height is automatically calculated based on the A4 page proportion (1 : 1.414).

Space convention

At pdforge, we standardize all spacing properties so you don’t have to think twice. Our spacing convention is as follows:

  • No space - 0 px

  • Small space - 12px

  • Medium space - 20px

  • Large space - 40px

Vertical Margin convention

We differentiate between the vertical margin for the first page and for all other pages. Typically, the first page may feature a header, meaning you might prefer no vertical margin there, while additional pages can benefit from some spacing for page breaks.

Also, note that we only manage vertical margins. Horizontal margins should be adjusted directly within the individual components in your template.

You can choose to insert a custom footer on the bottom of every pdf page generated.

On the footer you can either add a custom text, the title of your template, the current date or pagination.

The result will be like this:

If you didn’t find what you were looking for regarding the Page Component, feel free to contact us at [email protected]. We’ll get back to you as quickly as possible!

Last updated