Hello,
I am using aspose java pdf library to modifying pdf. Pdf contains 5 pages ( size is 41 kb).
The whole process takes a lot of time i.e 15-16 seconds.
Below is the code snippet
****************************
for(com.aspose.pdf.TextFragmenttextFragment:(Iterable<com.aspose.pdf.TextFragment>)textFragmentCollection)
{
textFragment.setText("*" + textFragment.getText());
}
****************************
Please let me know if i am doing any thing wrong or suggest me any alternat method to reduce this long processing time.
I observed that setText() method taking more time.
Please find attached my sample pdf.