Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Transfer text fragment from one document to another

$
0
0
Is it possible to take a TextFragment object from one document and copy it, as is, into another document?

I'm working with two documents: the first has an image and a text layer, and the second has images only. I'm traversing the text layer of the first document using TextFragmentAbsorber; I'd like to then selectively write out some of the TextFragments to the second document, at the same X and Y position. (The specific font isn't critical, because the text fragments should be behind the image).

How can I accomplish this with Aspose.PDF?

Viewing all articles
Browse latest Browse all 3131

Trending Articles