PDF content editing: Moving text on a PDF page.

Q: Our requirement is to relocate a PDF element in a specific location to another location in the pdf.

This works fine. But, the text before that element is also moved to some other location (to bottom of the page). This text does not fall within the area that have to be relocated.

We are currently using version of PDFNet.


With PDFNet v4 you can edit PDF content stream but it more difficult than with the current version because the changes in the graphics state are propagated to subsequent elements. This means that you would need to modify the GState on the subsequent element to prevent changes on one element from affecting other elements. In the current version (i.e. PDFNet v.5.7) the changes in the GState do not affect other Elements so it is simpler to implement PDF content editing operation.