Hi,
I am trying to insert a value at a certain position in the PDF file using ASPOSE PDF API. However I do not see any functionality with respect to that.
Please advise how can some predefined text be displayed on a certain position like using a Word Bookmark in PDF.
I have tried using the below code to set Bookmark values but no values are displayed on the PDF file.
PdfBookmarkEditor bookmarkEditor = new PdfBookmarkEditor(new Document());
Bookmarks bookmarks= bookmarkEditor.extractBookmarks();
for(com.aspose.pdf.facades.Bookmark bookmark: (Iterable) bookmarks){
String strLevelSeprator = “”;
for (int i = 1; i
{
strLevelSeprator += "---- ";
}
System.out.println(“Action…”+bookmark.getAction());
bookmark.setAction(“testing value”);
bookmark.setPageDisplay(“testing…xyz”);
System.out.println("Title :- " + strLevelSeprator + bookmark.getTitle());
System.out.println("Page Number :- " + strLevelSeprator + bookmark.getPageNumber());
System.out.println("Page Action :- " + strLevelSeprator + bookmark.getAction());
}
Please advise urgently. Thanks.
Hi Helena,
Thanks, I shall try this option. However, I was looking out for a convenient option for the users to add the position themselves on the page which can be easily managed.
Is there some other option other than hardcoding the position ourselves at the code level rather than user level.
Please advise.
Hi,
I believe I have Priority Support. However I am unable to access the Priority Support forum. It suggests that there are Permission issues.
Can you please look into this and let me know.
Thanks
Please advise.
Hi Helena,
Is there some other option other than hardcoding the position ourselves at the code level rather than user level.
Hi Helena,helena.wing:Hi, I believe I have Priority Support. However I am unable to access the Priority Support forum. It suggests that there are Permission issues. Can you please look into this and let me know.Thanks
Thanks. I believe this a very cumbersome process of dynamically adding the position.
I am intending to add dynamic tables at a certain position on the page. Is that possible?
Is dynamic table creation possible in Aspose PDF?
Please advise.
Hi Helena,