Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We've prepared 4 rules that will help your reports look great:

  1. Think about the PDF page, as about HTML Email template. That means that the <table> tag approach will help you a lot with the proper location of elements.

  2. Use the "fill-color" property to change the background color of your elements inside the PDF.

  3. Make sure that margin, padding, and border property values are specified in px, pt, cm, rem, etc. Otherwise, it would be a challenge for the PDF generator.

  4. By default, PDF generator uses a Roboto font as a limitation and this cannot be changed.

Info

Read more about Scripted Reports, the Gallery and the API.