CSS for PDF Template

1
How can we add CSS in custom style box in PDF template?
asked
2 answers
0

whether you can use the custom CSS in the properties of PDF Template  or U can write your own CSS styles in vs code and configure them with the application

answered
-3

 custom styling of the PDF document can be done using CSS, which can be added to the Custom style box in the Document Template properties. However, please note that the Custom style box supports a subset of CSS and not all properties might be available.

  1. Select the Document Template properties.

  2. In the Custom style box, write your CSS rules.

  3. Make sure that the CSS syntax is correct

 

Keep in mind that you cannot link to external style sheets or images due to the way PDF generation works in Mendix, all styling needs to be inline using the Custom style box.

answered