Free Support Forum - aspose.com

Dynamic footer height

Hi all,
is it posible to create PDFs with different Footer height like the example below:
Inhalt.pdf (68.5 KB)
Do we need to set the height of footer (BottomMargin) according to the length of the text or is there a way that aspose breaks the line and expand the BottomMargin so that the text gets fit in it?

regards
Iman

@iman.gharib

The headers/footers are defined at the time of PDF generation and you need to specify margins accordingly in order to get their content fit. However, if you are facing any issue or unable to achieve your requirements, please let us know by sharing a sample code snippet. We will test the scenario in our environment and address it accordingly.