KM
06/12/2026, 3:05 PMCeligo AI
06/12/2026, 3:05 PMAI generated answer (using internal Slack threads):To set the page size of an Advanced PDF template in XML, you need to modify the
size attribute in the body tag of your XML template. The size attribute is used to specify the page size and orientation of the PDF.
For example, if you want to set the page size to Letter and the orientation to Landscape, you would use size="Letter-LANDSCAPE". If you want to set the page size to A4 and the orientation to Landscape, you would use size="A4-LANDSCAPE".
Here is an example of how to set the page size and orientation in the body tag:
xml
<body header="nlheader" header-height="26%" size="Letter-LANDSCAPE" footer="nlfooter" footer-height="20pt">
Please note that "Letter" is used in the United States, while "A4" is used in most other countries.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
06/12/2026, 3:06 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825256348
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813537598
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.802001953
Celigo AI
06/12/2026, 3:06 PM