Free Support Forum -

Aspose.PDF Java - cut/copy and paste a portion of a pdf to another pdf

is there a way to cut/copy and paste a portion from one pdf to another pdf? We know the exact coordinates of the rectangle in the source PDF which we want to cut/copy from, and we have the same coordinates in the destination PDF.

Is there a way to do this with Aspose.PDF Java? Please let us know ASAP, thanks.

just to be clear… we want to cut/copy rectangular areas from the source PDF, which would include images and text. Source PDF would have both images and text, not just text, not just an image. It would be a combination of both.


Thanks for your inquiry.

You can convert specific region of PDF page into an image and add obtained image into other PDF document using Aspose.PDF for Java. In case of any further assistance, please feel free to let us know.