Hello,
We are making an Android application that generates the pdf using some data.
We have used the Aspose.Pdf for Android 1.6.0 in our application.
we are trying to add page dynamically as per content with header and footer
What we are trying
- Add page dynamically when text comes at last position of page
- Add table to header
Facing issue
- Add page dynamically when text comes at last position of page.
- Add table to header
Table m_header = new Table();
m_header.getMargin().setLeft(- 90d);
m_header.getMargin().setTop(- 70d);
p_doc.getPages().get_Item(m_pageCounter).getParagraphs().add(m_header);
m_header.setColumnWidths("600");
m_header.setVerticalAlignment(VerticalAlignment.Bottom);
Row m_headerRow = m_header.getRows().add();
m_headerRow.setFixedRowHeight(45);
m_headerRow.getCells().add().getParagraphs().add(p_image);
p_doc.getPages().get_Item(m_pageCounter).getParagraphs().add(m_header);
Please help usThanks